Skip to content

Commit 142e0c8

Browse files
committed
Moving .tests css into a tests.scss file
1 parent af86196 commit 142e0c8

File tree

2 files changed

+5
-26
lines changed

2 files changed

+5
-26
lines changed

src/_modules/tests/tests.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.tests {
2+
display: grid;
3+
grid-template-columns: minmax(0,1fr);
4+
grid-gap: 20px;
5+
}

unit-tests/test-styles.scss

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -37,29 +37,3 @@ $green: #004700;
3737
}
3838

3939
@import '*/*/*.scss';
40-
41-
.tests {
42-
display: grid;
43-
grid-template-columns: minmax(0,1fr);
44-
grid-gap: 20px;
45-
}
46-
47-
.breakpoints {
48-
padding: 20px;
49-
border: 2px solid #000;
50-
51-
&__size {
52-
@each $name, $value in $breakpoints {
53-
&.-#{$name} {
54-
&::before {
55-
content: 'BP-#{$name}: ';
56-
}
57-
&::after {
58-
content: '#{$value}';
59-
font-weight: bold;
60-
font-size: 1.2em;
61-
}
62-
}
63-
}
64-
}
65-
}

0 commit comments

Comments
 (0)