From 1e0860239be372c6a2acb55334b5b64a19aba726 Mon Sep 17 00:00:00 2001 From: zoe Date: Fri, 29 Apr 2022 15:03:37 +0200 Subject: [PATCH] iframe support --- assets/scss/layout.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/assets/scss/layout.scss b/assets/scss/layout.scss index c83471d..9b365b9 100644 --- a/assets/scss/layout.scss +++ b/assets/scss/layout.scss @@ -32,6 +32,7 @@ footer { #content ul, #content ol, #content table, +#content iframe, code, .postdescription, hr, @@ -41,11 +42,12 @@ hr, margin-left: 24%; } -#content img { +#content img, +#content iframe{ display: block; overflow: hidden; - width: 52%; - height: auto; + max-width: 52%; + max-height: 100%; } p code{