Skip to content

Commit ea33e61

Browse files
committed
Add background-color to code's in README's
1 parent 5841a83 commit ea33e61

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

templates/style.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,11 +427,17 @@ div.package-page-container {
427427
pre {
428428
background-color: inherit;
429429
padding: 0;
430-
431430
code {
432-
white-space: pre;
431+
padding: 0.5em;
433432
}
434433
}
434+
435+
code {
436+
white-space: pre;
437+
background-color: $color-background-code;
438+
padding: 0 0.2em;
439+
border-radius: 2px;
440+
}
435441
}
436442

437443

0 commit comments

Comments
 (0)