From b7f9b489c93781bc0319ee3d112b2ba710631302 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Fri, 24 Oct 2025 21:05:31 +0200 Subject: [PATCH] [fix] search bar: cursor jumps to beginning when clicking text field Apparently, setting padding on an input field and then clicking that space created by the padding forces the seekbar cursor to jump to the beginning of the input field instead of the actual text position. By removing that padding, the search bar input automatically claims that height for itself and thus clicking on the blank space moves the cursor to the correct position. closes https://github.com/searxng/searxng/issues/5371 --- client/simple/src/less/search.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/simple/src/less/search.less b/client/simple/src/less/search.less index 0a9d8f917..260f5e942 100644 --- a/client/simple/src/less/search.less +++ b/client/simple/src/less/search.less @@ -178,7 +178,6 @@ html.no-js #clear_search.hide_if_nojs { #send_search { display: block; margin: 0; - padding: 0.8rem; background: none repeat scroll 0 0 var(--color-search-background); border: none; outline: none; @@ -196,6 +195,7 @@ html.no-js #clear_search.hide_if_nojs { #send_search { .ltr-rounded-right-corners(0.8rem); + padding: 0.8rem; &:hover { cursor: pointer;