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

This commit is contained in:
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

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;
} }