summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-09-07 12:35:26 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-09-07 16:46:49 +0200
commitbd830f7449157f6f759dd04ba387aa38a7a3a5b8 (patch)
tree1f1f0d949b8a9e54fb412717442bc1602f5c0aea /searx
parent9068a72c6a95625ba1c8b3fc5f3dfad4008b1bda (diff)
downloadsearxng-bd830f7449157f6f759dd04ba387aa38a7a3a5b8.tar.gz
searxng-bd830f7449157f6f759dd04ba387aa38a7a3a5b8.zip
[fix] simple theme - preferences: fix tooltip overflow
Suggested-by: @dalf https://github.com/searxng/searxng/pull/295#discussion_r703370358 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx')
-rw-r--r--searx/static/themes/simple/src/less/preferences.less6
-rw-r--r--searx/templates/simple/preferences.html2
2 files changed, 7 insertions, 1 deletions
diff --git a/searx/static/themes/simple/src/less/preferences.less b/searx/static/themes/simple/src/less/preferences.less
index 8b000c0e3..d03bf42d2 100644
--- a/searx/static/themes/simple/src/less/preferences.less
+++ b/searx/static/themes/simple/src/less/preferences.less
@@ -1,3 +1,9 @@
+.column-reliability {
+ .engine-tooltip {
+ right: 12rem;
+ }
+}
+
#main_preferences {
form {
width: 100%;
diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html
index 164d4bf0d..d544a8cb8 100644
--- a/searx/templates/simple/preferences.html
+++ b/searx/templates/simple/preferences.html
@@ -70,7 +70,7 @@
{% set r = '' %}
{% endif %}
{% if checker_result or errors %}
-<td class="{{ label }}">{{- "" -}}
+<td class="{{ label }} column-reliability">{{- "" -}}
<a href="{{ url_for('stats', engine=engine_name|e) }}">{{- "" -}}
<span aria-labelledby="{{engine_name}}_reliability">
{{ icon('warning', 'The engine is not reliabled') }} {{ r -}}