Skip to content

Commit bf7b71d

Browse files
add new small-mobile-min variable and update cards scss to reflect.
1 parent 2ee07ac commit bf7b71d

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

components/containers/Card/Cards.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
}
2020
}
2121

22-
@include small-mobile {
22+
@include small-mobile-min {
2323
height: 42rem;
2424
}
2525

@@ -46,7 +46,7 @@
4646
margin: 1rem 0 0 0;
4747
line-height: unset;
4848

49-
@media (min-width: $tablet-breakpoint) {
49+
@include tablet {
5050
font-size: 2.25rem;
5151
}
5252
}

styles/_mixins.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,9 @@
6767
@content;
6868
}
6969
}
70+
71+
@mixin small-mobile-up {
72+
@media (min-width: $sm-mobile-breakpoint) {
73+
@content;
74+
}
75+
}

0 commit comments

Comments
 (0)