Ver código fonte

fix: Homepage video section layout shift (#13987)

Alex Carpenter 1 mês atrás
pai
commit
df59d1412b
1 arquivos alterados com 2 adições e 0 exclusões
  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-width: none;
       max-height: none;
       max-height: none;
       display: block;
       display: block;
+      aspect-ratio: 16 / 9;
+      object-fit: cover;
     }
     }
   }
   }