2
0
Эх сурвалжийг харах

Fix iframe dimensions in rich text. Fix #417 (#418)

gzark1 1 жил өмнө
parent
commit
54165cea31

+ 7 - 0
bakerydemo/static/css/main.css

@@ -404,6 +404,13 @@ blockquote .attribute-name {
   height: 100%;
   height: 100%;
 }
 }
 
 
+/* stylelint-disable-next-line selector-class-pattern */
+.block-paragraph_block iframe {
+  aspect-ratio: 16 / 9;
+  width: 100%;
+  height: 100%;
+}
+
 /* stylelint-disable-next-line selector-class-pattern */
 /* stylelint-disable-next-line selector-class-pattern */
 :is(.block-table_block, .block-typed_table_block) :is(table, tr, td, th) {
 :is(.block-table_block, .block-typed_table_block) :is(table, tr, td, th) {
   border: 1px solid var(--dark);
   border: 1px solid var(--dark);