Browse Source

fix: limit video size

Tienson Qin 2 tháng trước cách đây
mục cha
commit
aef16cbaef
1 tập tin đã thay đổi với 5 bổ sung2 xóa
  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);