From 54165cea3155ae3774e9ae804f4467e58ee7bdf0 Mon Sep 17 00:00:00 2001 From: gzark1 <93925338+gzark1@users.noreply.github.com> Date: Wed, 21 Jun 2023 11:41:40 +0300 Subject: [PATCH] Fix iframe dimensions in rich text. Fix #417 (#418) --- bakerydemo/static/css/main.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bakerydemo/static/css/main.css b/bakerydemo/static/css/main.css index 88501dc..9b196c3 100644 --- a/bakerydemo/static/css/main.css +++ b/bakerydemo/static/css/main.css @@ -404,6 +404,13 @@ blockquote .attribute-name { 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 */ :is(.block-table_block, .block-typed_table_block) :is(table, tr, td, th) { border: 1px solid var(--dark);