mirror of
https://github.com/searxng/searxng.git
synced 2025-11-18 12:33:19 -05:00
[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
This commit is contained in:
parent
2cdbbb249a
commit
b7f9b489c9
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user