improve code block styling
This commit is contained in:
@@ -48,6 +48,11 @@ pre[class*="language-"] {
|
||||
background: $codeBackground;
|
||||
padding: 1.2rem 1.5rem !important;
|
||||
border-radius: 0.5rem;
|
||||
max-height: unquote("max(300px, 60vh)");
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background-color: rgba($colorWhite, 0.25);
|
||||
}
|
||||
}
|
||||
|
||||
pre[class*="language-"].language-css > code,
|
||||
|
||||
Reference in New Issue
Block a user