Skip to content

Commit 446837c

Browse files
committed
style(docs): improve styling of code blocks
1 parent 57a03bb commit 446837c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/dummy/app/styles/app.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,16 @@ th, td {
201201
color: #bbb;
202202
}
203203

204+
pre > code {
205+
border: none;
206+
margin: 0;
207+
padding: 0 .5rem;
208+
}
209+
210+
:not(pre) > code[class*="language-"], pre[class*="language-"] {
211+
background-color: #f8f8f8;
212+
}
213+
204214
.code-template-toggle {
205215
position: relative;
206216
background-color: #f8f8f8;

0 commit comments

Comments
 (0)