Просмотр исходного кода

fix: Homepage video section layout shift (#13987)

Alex Carpenter 1 месяц назад
Родитель
Сommit
df59d1412b
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      packages/console/app/src/routes/index.css

+ 2 - 0
packages/console/app/src/routes/index.css

@@ -668,6 +668,8 @@ body {
       max-width: none;
       max-height: none;
       display: block;
+      aspect-ratio: 16 / 9;
+      object-fit: cover;
     }
   }