diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-07 12:35:26 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-09-07 16:46:49 +0200 |
commit | bd830f7449157f6f759dd04ba387aa38a7a3a5b8 (patch) | |
tree | 1f1f0d949b8a9e54fb412717442bc1602f5c0aea /searx | |
parent | 9068a72c6a95625ba1c8b3fc5f3dfad4008b1bda (diff) | |
download | searxng-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.less | 6 | ||||
-rw-r--r-- | searx/templates/simple/preferences.html | 2 |
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 -}} |