mirror of
https://github.com/searxng/searxng.git
synced 2025-12-29 15:10:02 +00:00
[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
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
.autocomplete {
|
||||
position: absolute;
|
||||
width: @search-width;
|
||||
max-width: calc(100% - 2 * @search-padding-horizontal);
|
||||
max-height: 0;
|
||||
overflow-y: hidden;
|
||||
.ltr-text-align-left();
|
||||
@@ -65,8 +66,6 @@
|
||||
|
||||
@media screen and (max-width: @phone) {
|
||||
.autocomplete {
|
||||
width: 100%;
|
||||
|
||||
> ul > li {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user