fix: prevent syntax-highlighted spans from being displayed as block due to Tailwind .block class conflict

This commit is contained in:
xfy 2026-06-03 16:18:24 +08:00
parent b173a5c509
commit 3d19f62fb4
2 changed files with 6 additions and 1 deletions

View File

@ -358,6 +358,11 @@
line-height: 1.6; line-height: 1.6;
} }
/* Reset display for syntax-highlighted spans to prevent Tailwind .block conflict */
.md-content pre code span {
display: inline !important;
}
/* Copy Code Button */ /* Copy Code Button */
.copy-code { .copy-code {
display: none; display: none;