summaryrefslogtreecommitdiff
path: root/client/simple/src/less/search.less
diff options
context:
space:
mode:
authorBnyro <bnyro@tutanota.com>2025-03-17 20:19:13 +0100
committerBnyro <bnyro@tutanota.com>2025-05-22 15:16:54 +0200
commit32823ecb69b115a6726475d6421f0a1c0327fafa (patch)
treef339a2318c8fc78ecf6030938472f96190ead66f /client/simple/src/less/search.less
parent156d1eb8c85c01c94723188859fa7526c7d72698 (diff)
[refactor] search.js: use custom auto completion implementation
The previously used library is unmaintained for 6 years now [1] and the solution had know issues [2][3] [1] https://github.com/searxng/searxng/pull/4284#discussion_r1954493434 [2] https://github.com/searxng/searxng/pull/4318#issuecomment-2731576657 [3] https://github.com/privau/searxng/issues/56
Diffstat (limited to 'client/simple/src/less/search.less')
-rw-r--r--client/simple/src/less/search.less8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/simple/src/less/search.less b/client/simple/src/less/search.less
index 460ea09fa..bc49ffadc 100644
--- a/client/simple/src/less/search.less
+++ b/client/simple/src/less/search.less
@@ -131,7 +131,7 @@ button.category_button {
}
#search_view {
- padding: 0.5rem 0.3rem 0 0.5rem;
+ padding: 0.5rem @search-padding-horizontal 0 @search-padding-horizontal;
grid-area: search;
body.results_endpoint & {
@@ -141,7 +141,8 @@ button.category_button {
.search_box {
border-radius: 0.8rem;
- width: @search-width;
+ width: 100%;
+ max-width: @search-width;
display: inline-flex;
flex-direction: row;
white-space: nowrap;
@@ -291,8 +292,7 @@ html.no-js #clear_search.hide_if_nojs {
}
.search_box {
- width: 98%;
- display: flex;
+ width: 100%;
}
#q {