Skip to content

Commit 61ea1b3

Browse files
authored
fix: header component scss (#1265)
1 parent ff6ddbf commit 61ea1b3

File tree

3 files changed

+21
-16
lines changed

3 files changed

+21
-16
lines changed

src/components/modal/v2/styles/components/_header.scss

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@use "../globals/colors";
2-
@use "../globals/mixins";
3-
@use "../globals/variables";
1+
@use '../globals/colors';
2+
@use '../globals/mixins';
3+
@use '../globals/variables';
44

55
.header {
66
&__container {
@@ -91,7 +91,12 @@
9191
black variables.$sticky-header-height-mobile,
9292
transparent 100px
9393
);
94-
mask-image: linear-gradient(to bottom, black, black variables.$sticky-header-height-mobile, transparent 100px);
94+
mask-image: linear-gradient(
95+
to bottom,
96+
black,
97+
black variables.$sticky-header-height-mobile,
98+
transparent 100px
99+
);
95100
}
96101
}
97102

@@ -328,7 +333,7 @@
328333

329334
&.headline-gb-preapproved {
330335
max-width: 70%;
331-
@include @include mixins.mobile {
336+
@include mixins.mobile {
332337
max-width: 75%;
333338
}
334339
}
@@ -420,23 +425,23 @@
420425
@include mixins.mobile {
421426
margin: 3px 0px -50px -130px;
422427
}
423-
@include smallMobile {
428+
@include mixins.smallMobile {
424429
margin: 3px 0px -50px -60px;
425430
}
426431

427-
@include lander {
432+
@include mixins.lander {
428433
margin: 30px 0px -50px -70px;
429434

430-
@include mobile {
435+
@include mixins.mobile {
431436
margin: 5px 0px -50px -130px;
432437
}
433438

434-
@include smallMobile {
439+
@include mixins.smallMobile {
435440
margin: 5px 0px -50px -60px;
436441
}
442+
}
437443
}
438444
}
439-
}
440445

441446
&.checkout {
442447
background-color: colors.$white;

src/components/modal/v2/styles/components/_preapproval-disclaimer.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
@use "../globals/colors";
2-
@use "../globals/mixins";
1+
@use '../globals/colors';
2+
@use '../globals/mixins';
33

44
.preapproval-disclaimer {
55
text-align: left;
@@ -144,19 +144,19 @@
144144
border-radius: 12px;
145145
margin-bottom: 1rem;
146146
padding: 6px 16px 6px 16px;
147-
@include lander {
147+
@include mixins.lander {
148148
width: 430px;
149149
margin-bottom: 0;
150150

151-
@include mobile {
151+
@include mixins.mobile {
152152
width: auto;
153153
}
154154
}
155155
}
156156
&__privacy {
157157
font-size: 14px;
158158
line-height: 16px;
159-
color: $black;
159+
color: colors.$black;
160160
margin-top: 12px;
161161
margin-bottom: 20px;
162162

src/components/modal/v2/styles/globals/_mixins.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@use "variables";
1+
@use 'variables';
22

33
// TODO: until PPUI has images for the universal modals, we will be using the tablet view for desktops.
44
@mixin desktop {

0 commit comments

Comments
 (0)