Преглед изворни кода

fix: Homepage video section layout shift (#13987)

Alex Carpenter пре 2 месеци
родитељ
комит
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;
     }
   }