From ea2d238bd8adc018256862e05a5092311c87a671 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Tue, 2 Jan 2024 18:24:37 +0800 Subject: [PATCH] fix: image float breaks quotes and prompts (#1449) Fixes #1441 --- _sass/addon/commons.scss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_sass/addon/commons.scss b/_sass/addon/commons.scss index c50bbff..f53e0cb 100644 --- a/_sass/addon/commons.scss +++ b/_sass/addon/commons.scss @@ -85,6 +85,7 @@ blockquote { border-left: 5px solid var(--blockquote-border-color); padding-left: 1rem; color: var(--blockquote-text-color); + display: flex; &[class^='prompt-'] { border-left: 0; @@ -641,12 +642,12 @@ main { .left { float: left; - margin: 0.75rem 1rem 1rem 0 !important; + margin: 0.75rem 1rem 1rem 0; } .right { float: right; - margin: 0.75rem 0 1rem 1rem !important; + margin: 0.75rem 0 1rem 1rem; } /* --- Overriding --- */