_sass/addon/syntax.scss in jekyll-theme-chirpy-6.5.5 vs _sass/addon/syntax.scss in jekyll-theme-chirpy-7.1.0

- old
+ new

@@ -48,17 +48,17 @@ .highlight { @extend %rounded; @extend %code-snippet-bg; + overflow: auto; + padding-bottom: 0.75rem; + @at-root figure#{&} { @extend %code-snippet-bg; } - overflow: auto; - padding-bottom: 0.75rem; - pre { margin-bottom: 0; font-size: $code-font-size; line-height: 1.4rem; word-wrap: normal; /* Fixed Safari overflow-x */ @@ -102,11 +102,11 @@ &.highlighter-rouge { font-size: $code-font-size; padding: 3px 5px; word-break: break-word; - border-radius: 4px; + border-radius: $radius-sm; background-color: var(--inline-code-bg); } &.filepath { background-color: inherit; @@ -259,10 +259,10 @@ @media all and (min-width: 576px) { div[class^='language-'] { .content > & { @include ml-mr(0); - border-radius: $base-radius; + border-radius: $radius-lg; } .code-header { @include ml-mr(0);