[mod] favicons: simplify RTL in template & CSS

Comes from a sughgestion in:

- https://github.com/searxng/searxng/pull/3727#issuecomment-2388998803

Suggested-by: Bnyro <bnyro@tutanota.com>
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2024-10-02 18:06:29 +02:00 committed by Markus Heiser
parent a7d02d4101
commit a631f77401
4 changed files with 17 additions and 21 deletions

View file

@ -82,8 +82,4 @@
transform: scale(1, 1);
}
.favicon {
margin: 0 8px 0 0;
}
@import "style.less";

View file

@ -94,12 +94,12 @@
direction: initial;
text-align: right;
.result .url_header {
direction: rtl;
}
.result .url_wrapper {
justify-content: end;
.favicon {
margin: 0 0 0 8px;
}
}
}

View file

@ -232,6 +232,11 @@ article[data-vim-selected].category-social {
}
}
.url_header {
display: flex;
gap: 0.5rem;
}
.url_wrapper {
display: flex;
align-items: center;