Loading assets/scss/components/_code.scss +19 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,8 @@ pre code { line-height: $line-height-base; padding: 1.25rem 1.5rem; tab-size: 4; scrollbar-width: thin; scrollbar-color: transparent transparent; } .hljs { Loading @@ -41,3 +43,20 @@ pre code { margin: 2rem -1.5rem; } } pre code::-webkit-scrollbar { height: 5px; } pre code::-webkit-scrollbar-thumb { background: $gray-200; } pre code:hover { scrollbar-width: thin; scrollbar-color: $gray-200 transparent; } pre code::-webkit-scrollbar-thumb:hover { background: $gray-200; } Loading
assets/scss/components/_code.scss +19 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,8 @@ pre code { line-height: $line-height-base; padding: 1.25rem 1.5rem; tab-size: 4; scrollbar-width: thin; scrollbar-color: transparent transparent; } .hljs { Loading @@ -41,3 +43,20 @@ pre code { margin: 2rem -1.5rem; } } pre code::-webkit-scrollbar { height: 5px; } pre code::-webkit-scrollbar-thumb { background: $gray-200; } pre code:hover { scrollbar-width: thin; scrollbar-color: $gray-200 transparent; } pre code::-webkit-scrollbar-thumb:hover { background: $gray-200; }