Browse Source

[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>
Markus Heiser 10 months ago
parent
commit
d0bad45d21
1 changed files with 2 additions and 0 deletions
  1. 2 0
      searx/static/themes/simple/src/less/style.less

+ 2 - 0
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;