diff options
author | Kiru <mail@kiru.gay> | 2023-06-30 13:20:10 +0200 |
---|---|---|
committer | mrpaulblack <paul@paulgo.io> | 2023-07-19 15:06:09 +0200 |
commit | de5c1cedcadb2827c7f0e5e42870bc329d4eea12 (patch) | |
tree | f08245ad8ab4bc7e909f25b92923d4b7c82d506d /searx/static | |
parent | 4380fc2bac7d910591b9e0f165e80a1a5b096696 (diff) | |
download | searxng-de5c1cedcadb2827c7f0e5e42870bc329d4eea12.tar.gz searxng-de5c1cedcadb2827c7f0e5e42870bc329d4eea12.zip |
fix "#backToTop" button always being clickable
`pointer-events` never gets set to "none" when the button is hidden,
allowing you to click the button. And your mouse further changes it's
cursor to the pointer style.
Diffstat (limited to 'searx/static')
-rw-r--r-- | searx/static/themes/simple/src/less/style.less | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less index 3545ed309..366b4d580 100644 --- a/searx/static/themes/simple/src/less/style.less +++ b/searx/static/themes/simple/src/less/style.less @@ -792,6 +792,7 @@ summary.title { .ltr-left(@results-width + @results-offset + (0.5 * @results-gap - 1.2em)); transition: opacity 0.5s; opacity: 0; + pointer-events: none; .rounded-corners; a { @@ -810,6 +811,7 @@ summary.title { #results.scrolling #backToTop { opacity: 1; + pointer-events: all; } /* |