improved sort order mobile layout on home

This commit is contained in:
simon 2021-12-18 18:38:01 +07:00
parent 2d6cc43a9e
commit 42f4f4cb6f
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
2 changed files with 24 additions and 21 deletions

View File

@ -7,7 +7,7 @@
</div>
<div class="info-box info-box-2">
<div class="sort">
<p>Sort by <span class="settings-current">{{ sort_by }}</span>
<span>Sort by <span class="settings-current">{{ sort_by }}</span></span>
<select name="sort" id="sort" onchange="sortChange(this.value)">
<option value="" disabled selected> -- change sort by -- </option>
<option value="published">date published</option>
@ -27,7 +27,6 @@
<option value="desc">desc</option>
{% endif %}
</select>
</p>
</div>
<div class="search-form icon-text">
<div class="search-icon">

View File

@ -525,6 +525,10 @@ button:hover {
margin-bottom: 10px;
}
.sort span {
width: 100%;
}
/* login */
.login-page {
display: flex;