Skip to content

Commit 4c77b46

Browse files
heavywatalvitaut
authored andcommitted
Add white-space property for code elements
Currently the result of `fmt::format("{:>10}", color::blue)` is displayed inline as ` blue` with a collapsed whitespace, which is confusing.
1 parent 4d45f11 commit 4c77b46

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dev/fmt.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
margin-left: 1em;
2121
}
2222

23+
code,
2324
pre > code.decl {
2425
white-space: pre-wrap;
2526
}

0 commit comments

Comments
 (0)