Skip to content

Commit e20e500

Browse files
committed
chore: fix docs codeblock style
1 parent 013818d commit e20e500

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/styles.css

+7-2
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@ config. This is a problem because ShadCN relies on CSS variables which are only
88
scoped to the editor, and are undefined when Nextra components try to use them.
99
Seems like this only affects border radius in the demos though. */
1010
body {
11-
--radius: 0.5rem;
12-
}
11+
--radius: 0.5rem;
12+
}
13+
14+
/* nextra's contain:paint breaks the code block language selector*/
15+
.ProseMirror pre {
16+
contain: none;
17+
}

0 commit comments

Comments
 (0)