ソースを参照

Add styles for `EmbedBlock` (#362)

sag᠎e 2 年 前
コミット
8c38696092
1 ファイル変更7 行追加0 行削除
  1. 7 0
      bakerydemo/static/css/main.css

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

@@ -397,6 +397,13 @@ blockquote .attribute-name {
   text-decoration: underline;
 }
 
+/* stylelint-disable-next-line selector-class-pattern */
+.block-embed_block iframe {
+  aspect-ratio: 16 / 9;
+  width: 100%;
+  height: 100%;
+}
+
 @media screen and (min-width: 768px) {
   .header,
   .footer {