Skip to content

Commit 03e60c2

Browse files
authored
Fix awkward wrapping in blog post metadata (modelcontextprotocol#1458)
Prevents the author list from wrapping mid-separator (e.g., "· 4 min" appearing at the start of a new line) by ensuring the metadata container displays as a block element. Fixes modelcontextprotocol#1789
1 parent 32331f9 commit 03e60c2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

blog/assets/css/extended/custom.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,9 @@
1111
/* Mermaid diagram styling for dark mode */
1212
.dark .mermaid {
1313
filter: invert(0.85) hue-rotate(180deg);
14-
}
14+
}
15+
16+
/* Prevent awkward wrapping in post metadata. See https://github.com/adityatelange/hugo-PaperMod/issues/1789 */
17+
.post-meta {
18+
display: block !important;
19+
}

0 commit comments

Comments
 (0)