From e8701712b64a878be9253f71f292681b67f4e93c Mon Sep 17 00:00:00 2001 From: Lucas Bigot Date: Thu, 28 Mar 2024 11:17:17 -0400 Subject: [PATCH] Horizontally align iframe --- assets/styles/components/_wysiwyg.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/styles/components/_wysiwyg.scss b/assets/styles/components/_wysiwyg.scss index b6310b3..e7c9a61 100644 --- a/assets/styles/components/_wysiwyg.scss +++ b/assets/styles/components/_wysiwyg.scss @@ -133,6 +133,10 @@ // iFrame // ========================================================================== iframe { + display: block; + margin-left: auto; + margin-right: auto; + &:not([width]) { width: 100%; }