mirror of https://github.com/searxng/searxng.git
[fix] simple theme: support browsers which do not have aspect-ratio
Suggested-by: @dalf https://github.com/searxng/searxng/pull/882#discussion_r805187303 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
parent
50ee7bcac6
commit
f5e8cfade2
|
@ -316,6 +316,14 @@ article[data-vim-selected].category-social {
|
|||
padding: 10px 0 0 0;
|
||||
}
|
||||
|
||||
@supports not (aspect-ratio: 1 / 1) {
|
||||
// support older browsers which do not have aspect-ratio
|
||||
// https://caniuse.com/?search=aspect-ratio
|
||||
.result-videos .embedded-video iframe {
|
||||
height: calc(@results-width * 9 / 16);
|
||||
}
|
||||
}
|
||||
|
||||
.engines {
|
||||
.ltr-float-right();
|
||||
color: var(--color-result-engines-font);
|
||||
|
|
Loading…
Reference in New Issue