浏览代码

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 {