[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>
This commit is contained in:
Markus Heiser 2024-06-20 15:23:21 +02:00 committed by Markus Heiser
parent d5487a157d
commit d0bad45d21

View file

@ -245,6 +245,7 @@ article[data-vim-selected].category-social {
.url_o1 { .url_o1 {
white-space: nowrap; white-space: nowrap;
flex-shrink: 1; flex-shrink: 1;
padding-bottom: 1px;
} }
.url_o1::after { .url_o1::after {
@ -260,6 +261,7 @@ article[data-vim-selected].category-social {
flex-grow: 0; flex-grow: 0;
flex-shrink: 1; flex-shrink: 1;
text-align: right; text-align: right;
padding-bottom: 1px;
.url_i2 { .url_i2 {
float: right; float: right;