Skip to content

Commit 03e399b

Browse files
committed
docs: de-italicize the prose alongside example code
The commentary extracted next to example code was rendered in italics, which is harder to read for multi-line explanations. This drops the italic styling so the commentary reads upright.
1 parent 8ffee9b commit 03e399b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/_components/SnippetComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function SnippetComponent(props: {
1515
<div
1616
class={`select-none text-sm ${props.snippet.text ? "pb-4" : " "} ${
1717
props.snippet.code
18-
? "italic md:text-balance md:text-right col-span-5 sm:col-span-3 md:pb-0 snippet-comment"
18+
? "md:text-balance md:text-right col-span-5 sm:col-span-3 md:pb-0 snippet-comment"
1919
: "col-span-full mt-8"
2020
}`}
2121
>

0 commit comments

Comments
 (0)