vendor/assets/stylesheets/spectre/_codes.scss in spectre_scss-0.4.3.0 vs vendor/assets/stylesheets/spectre/_codes.scss in spectre_scss-0.4.4.0
- old
+ new
@@ -1,16 +1,15 @@
// Codes
code {
@include label-base();
@include label-variant($code-color, lighten($code-color, 33%));
- font-size: .65rem;
+ font-size: 85%;
}
.code {
border-radius: $border-radius;
color: $body-font-color;
- line-height: $line-height;
position: relative;
&::before {
color: $gray-color;
content: attr(data-lang);
@@ -22,10 +21,10 @@
code {
background: $bg-color;
color: inherit;
display: block;
- line-height: inherit;
+ line-height: 1.5;
overflow-x: auto;
padding: 1rem;
width: 100%;
}
}