Skip to content

Commit bd29ba6

Browse files
committed
fix: invalid scss variable in css function
This issue was caused by the PR.
1 parent d1d352d commit bd29ba6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

_sass/misc/article-menu.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
.post-menu-content {
1717
ul {
1818
border-left: 1px solid #e9ecef;
19-
$indent: calc($base-font-size / 4);
19+
$indent: #{$base-font-size / 4};
2020
$active-bgcolor: #ecebec;
2121

2222
@for $i from 2 to 7 {

_sass/yat.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ $on-laptop: 800px !default;
4343
// Use media queries like this:
4444
// @include media-query($on-palm) {
4545
// .wrapper {
46-
// padding-right: calc($spacing-unit / 2);
47-
// padding-left: calc($spacing-unit / 2);
46+
// padding-right: #{$spacing-unit / 2};
47+
// padding-left: #{$spacing-unit / 2};
4848
// }
4949
// }
5050
@mixin media-query($device) {

_sass/yat/_base.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ h1, h2, h3, h4, h5, h6,
4242
p, blockquote, pre,
4343
ul, ol, dl, figure,
4444
%vertical-rhythm {
45-
margin-bottom: calc($spacing-unit / 2);
45+
margin-bottom: #{$spacing-unit / 2};
4646
}
4747

4848

@@ -128,7 +128,7 @@ a {
128128
blockquote {
129129
color: $grey-color;
130130
border-left: 4px solid $grey-color-light;
131-
padding-left: calc($spacing-unit / 2);
131+
padding-left: #{$spacing-unit / 2};
132132
@include relative-font-size(1.125);
133133
letter-spacing: -1px;
134134
font-style: italic;
@@ -222,7 +222,7 @@ table {
222222
}
223223

224224
th, td {
225-
padding: calc($spacing-unit / 3) calc($spacing-unit / 2);
225+
padding: #{$spacing-unit / 3} #{$spacing-unit / 2};
226226
}
227227

228228
th {

_sass/yat/_layout.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ html {
107107

108108
.site-favicon {
109109
display: inline-block;
110-
height: calc($header-height / 1.5);
110+
height: #{$header-height / 1.5};
111111
margin-right: 5px;
112112
}
113113
}
@@ -695,7 +695,7 @@ html {
695695
}
696696

697697
@include media-query($on-palm) {
698-
height: calc($banner-height / 1.5);
698+
height: #{$banner-height / 1.5};
699699
}
700700
}
701701

0 commit comments

Comments
 (0)