From d0bad45d213f0ba568d81da3f7cd49ca5ce90ee9 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Thu, 20 Jun 2024 15:23:21 +0200 Subject: [PATCH] [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 --- searx/static/themes/simple/src/less/style.less | 2 ++ 1 file changed, 2 insertions(+) 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;