Explorar el Código

fix: limit video size

Tienson Qin hace 1 mes
padre
commit
aef16cbaef
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. 5 2
      src/main/frontend/common.css

+ 5 - 2
src/main/frontend/common.css

@@ -142,12 +142,15 @@ body {
     margin: 0.25rem 0;
   }
 
-  img,
-  video {
+  img {
     margin-left: auto;
     margin-right: auto;
   }
 
+  video {
+    max-height: 557px;
+  }
+
   ::selection {
     background: var(--ls-selection-background-color);
     color: var(--ls-primary-text-color);