fix: pre tag overwritten by default style (#2699)

zio/stable
Sma11X 2024-03-18 19:34:03 +08:00 committed by GitHub
parent 89e3582dd7
commit c89e499f96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -85,6 +85,9 @@ em-emoji-picker {
p:last-child { p:last-child {
--at-apply: mb-1; --at-apply: mb-1;
} }
pre {
--at-apply: whitespace-pre-wrap;
}
code { code {
--at-apply: bg-code text-code px1 py0.5 rounded text-0.875em leading-0.8em; --at-apply: bg-code text-code px1 py0.5 rounded text-0.875em leading-0.8em;
} }