File tree 2 files changed +5
-7
lines changed
packages/components/pie-notification/src
2 files changed +5
-7
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
}
Original file line number Diff line number Diff line change @@ -5442,7 +5442,7 @@ __metadata:
5442
5442
languageName: unknown
5443
5443
linkType: soft
5444
5444
5445
- "@justeattakeaway/
[email protected] .
1 , @justeattakeaway/generator-pie-component@workspace:packages/tools/generator-pie-component":
5445
+ "@justeattakeaway/
[email protected] .
2 , @justeattakeaway/generator-pie-component@workspace:packages/tools/generator-pie-component":
5446
5446
version: 0.0.0-use.local
5447
5447
resolution: "@justeattakeaway/generator-pie-component@workspace:packages/tools/generator-pie-component"
5448
5448
dependencies:
@@ -26162,7 +26162,7 @@ __metadata:
26162
26162
"@commitlint/config-conventional": 17.4.4
26163
26163
"@justeat/pie-design-tokens": 6.5.0
26164
26164
"@justeattakeaway/browserslist-config-pie": 0.2.0
26165
- "@justeattakeaway/generator-pie-component": 0.22.1
26165
+ "@justeattakeaway/generator-pie-component": 0.22.2
26166
26166
"@justeattakeaway/pie-icons": 4.19.1
26167
26167
"@justeattakeaway/pie-webc-testing": 0.13.3
26168
26168
"@justeattakeaway/pie-wrapper-react": 0.14.1
You can’t perform that action at this time.
0 commit comments