mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 04:00:02 +00:00
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.
This commit is contained in:
@@ -792,6 +792,7 @@ summary.title {
|
|||||||
.ltr-left(@results-width + @results-offset + (0.5 * @results-gap - 1.2em));
|
.ltr-left(@results-width + @results-offset + (0.5 * @results-gap - 1.2em));
|
||||||
transition: opacity 0.5s;
|
transition: opacity 0.5s;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
.rounded-corners;
|
.rounded-corners;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
@@ -810,6 +811,7 @@ summary.title {
|
|||||||
|
|
||||||
#results.scrolling #backToTop {
|
#results.scrolling #backToTop {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user