[enh] simple theme: mobile layout: allow access to the preferences

when there is no query, reduce the width of the query field,
to display the preference button on the right.
This commit is contained in:
Alexandre Flament 2021-11-06 18:04:17 +01:00
parent 1ccf296a55
commit ddc2346a06
2 changed files with 12 additions and 4 deletions

View file

@ -195,6 +195,11 @@
flex: 1; flex: 1;
} }
#main_results #q:placeholder-shown ~ #send_search {
margin-right: 2.6rem;
transition: margin-right 0.1s;
}
.search_filters { .search_filters {
display: block; display: block;
margin: 0.8em 0; margin: 0.8em 0;

View file

@ -724,10 +724,13 @@ article[data-vim-selected].category-social {
} }
#linkto_preferences { #linkto_preferences {
display: none; top: 0.8rem;
position: fixed !important; right: 0.7rem;
top: 100px; }
right: 0;
#main_index #linkto_preferences {
top: 0.5rem;
right: 0.5rem;
} }
#results { #results {