fix: image float breaks quotes and prompts (#1449)

Fixes #1441
This commit is contained in:
Cotes Chung 2024-01-02 18:24:37 +08:00 committed by GitHub
parent 5234511a2f
commit ea2d238bd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,6 +85,7 @@ blockquote {
border-left: 5px solid var(--blockquote-border-color); border-left: 5px solid var(--blockquote-border-color);
padding-left: 1rem; padding-left: 1rem;
color: var(--blockquote-text-color); color: var(--blockquote-text-color);
display: flex;
&[class^='prompt-'] { &[class^='prompt-'] {
border-left: 0; border-left: 0;
@ -641,12 +642,12 @@ main {
.left { .left {
float: left; float: left;
margin: 0.75rem 1rem 1rem 0 !important; margin: 0.75rem 1rem 1rem 0;
} }
.right { .right {
float: right; float: right;
margin: 0.75rem 0 1rem 1rem !important; margin: 0.75rem 0 1rem 1rem;
} }
/* --- Overriding --- */ /* --- Overriding --- */