summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/static/themes/simple/src/less/style.less8
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/static/themes/simple/src/less/style.less b/searx/static/themes/simple/src/less/style.less
index 43f5e8994..3a3777587 100644
--- a/searx/static/themes/simple/src/less/style.less
+++ b/searx/static/themes/simple/src/less/style.less
@@ -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);