diff --git a/input.css b/input.css index b0319ee..ca307f9 100644 --- a/input.css +++ b/input.css @@ -358,6 +358,11 @@ 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 { display: none; diff --git a/src/api/posts.rs b/src/api/posts.rs index 33b5fa4..7deedc3 100644 --- a/src/api/posts.rs +++ b/src/api/posts.rs @@ -1373,4 +1373,4 @@ pub async fn search_posts(query: String) -> Result