Commit d1e419f 1 parent 209d0a9 commit d1e419f Copy full SHA for d1e419f
File tree 1 file changed +3
-5
lines changed
packages/components/pie-notification/src
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
@use ' @justeattakeaway/pie-css/scss' as p ;
2
2
3
- $breakpoint-wide : 768px ;
4
-
5
3
.c-notification {
6
4
--notification-border-radius : var (--dt-radius-rounded-c );
7
5
--notification-background-color : var (--dt-color-container-subtle );
@@ -63,7 +61,7 @@ $breakpoint-wide: 768px;
63
61
font-size : var (--notification-heading-font-size );
64
62
line-height : var (--notification-heading-line-height );
65
63
66
- @media ( min-width : $breakpoint-wide ) {
64
+ @include media ( ' >md ' ) {
67
65
--notification-heading-font-size : #{p .font-size (--dt-font-heading-s-size--wide )} ;
68
66
--notification-heading-line-height : #{p .line-height (--dt-font-heading-s-line-height--wide )} ;
69
67
}
@@ -95,7 +93,7 @@ $breakpoint-wide: 768px;
95
93
align-self : flex-end ;
96
94
}
97
95
98
- @media ( max-width : $breakpoint-wide ) {
96
+ @include media ( ' <md ' ) {
99
97
& .c-notification-footer--stacked {
100
98
flex-direction : column-reverse ;
101
99
}
@@ -109,7 +107,7 @@ $breakpoint-wide: 768px;
109
107
color : var (--notification-icon-fill );
110
108
margin-block-start : var (--notification-icon-offset );
111
109
112
- @media ( max-width : $breakpoint-wide ) {
110
+ @include media ( ' <md ' ) {
113
111
margin-block-start : 0 ;
114
112
}
115
113
}
You can’t perform that action at this time.
0 commit comments