Skip to content

Commit b1dd2af

Browse files
committed
Add some border radius to all code blocks
1 parent 38ae116 commit b1dd2af

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

components/layout.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,18 @@ export default function Layout({ children, title, description }) {
8787
code {
8888
font-family: "Roboto Mono", monospace;
8989
font-size: 14px;
90+
border-radius: 0.25em;
9091
}
9192
9293
code {
9394
background-color: ${codeTheme.plain.backgroundColor};
9495
color: #e3116c;
95-
padding: 2px;
96+
padding: 3px;
97+
border-radius: 0.25em;
98+
}
99+
100+
.prism-code {
101+
border-radius: 0.25em;
96102
}
97103
98104
hr {

0 commit comments

Comments
 (0)