mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-04 21:47:40 +03:00
Make sure some options only get applied to the elements that need them, also fix the margins on the settings page
This commit is contained in:
parent
4e7c401230
commit
799a2d316b
1 changed files with 5 additions and 0 deletions
|
@ -706,6 +706,7 @@ select,
|
|||
}
|
||||
@media screen and (max-width: 800px) {
|
||||
#search { width: 0; }
|
||||
#search.commentQuery { width: unset; }
|
||||
}
|
||||
|
||||
#inside {
|
||||
|
@ -1261,6 +1262,7 @@ a.search_subreddit:hover {
|
|||
#comment_count {
|
||||
font-weight: 500;
|
||||
opacity: 0.9;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
#comment_count > #sorted_by {
|
||||
|
@ -1945,7 +1947,10 @@ th {
|
|||
#subreddit { margin: 49px 0 0; }
|
||||
#user { margin: 49px 0 20px 0; }
|
||||
#search_sort { margin-top: 11px; }
|
||||
#settings { margin-top: 40px; }
|
||||
div.post.highlighted { margin-top: 49px; }
|
||||
main:not(:has(div + aside)) { #sort { margin-top: 49px; } }
|
||||
#column_one:has(div.post.highlighted + #commentQueryForms) { #sort { margin-top: 0 } }
|
||||
}
|
||||
|
||||
#sidebar {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue