1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[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;
}
#main_results #q:placeholder-shown ~ #send_search {
margin-right: 2.6rem;
transition: margin-right 0.1s;
}
.search_filters {
display: block;
margin: 0.8em 0;

View File

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