diff options
author | Markus Heiser <markus.heiser@darmarit.de> | 2024-06-20 15:23:21 +0200 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-07-13 17:19:59 +0200 |
commit | d0bad45d213f0ba568d81da3f7cd49ca5ce90ee9 (patch) | |
tree | 39f9e40d35c8ddda7b37e570b49e95bed266c64f /searx/static/themes/simple/src/less | |
parent | d5487a157d75175887dad4238bf92b3f0594eb06 (diff) | |
download | searxng-d0bad45d213f0ba568d81da3f7cd49ca5ce90ee9.tar.gz searxng-d0bad45d213f0ba568d81da3f7cd49ca5ce90ee9.zip |
[fix] simple theme: in URLs don't truncate descenders (typograhy, FFox)
HINT: this is a workaround to fix a rendering bug in FFox-Desktop [3]
Descenders [1] in the URL are truncated, caused by the `overflow: hidden;`
because part of link overflow the flex box [2].
[1] https://en.wikipedia.org/wiki/Descender
[2] https://github.com/searxng/searxng/issues/3550
[3] https://github.com/searxng/searxng/pull/3592#issuecomment-2186313121
Closes: https://github.com/searxng/searxng/issues/3550
Suggested-by: @coxde
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/static/themes/simple/src/less')
-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 02dc59efc..0d0996e7b 100644 --- a/searx/static/themes/simple/src/less/style.less +++ b/searx/static/themes/simple/src/less/style.less @@ -245,6 +245,7 @@ article[data-vim-selected].category-social { .url_o1 { white-space: nowrap; flex-shrink: 1; + padding-bottom: 1px; } .url_o1::after { @@ -260,6 +261,7 @@ article[data-vim-selected].category-social { flex-grow: 0; flex-shrink: 1; text-align: right; + padding-bottom: 1px; .url_i2 { float: right; |