Skip to content
16 changes: 16 additions & 0 deletions feature-libs/user/profile/styles/_register.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,21 @@
color: var(--cx-color-secondary);
margin-bottom: 0;
}

.form-group,
.form-check {
scroll-margin-bottom: $cx-anonymous-consent-banner-offset;
}

input,
select,
textarea,
ng-select,
button[type='submit'],
.cx-login-link {
Comment thread
npapp-dev002 marked this conversation as resolved.
&:focus {
scroll-margin-bottom: $cx-anonymous-consent-banner-offset;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,13 @@
}

&:has(.anonymous-consent-banner) ~ cx-scroll-to-top {
bottom: 180px;
bottom: $cx-anonymous-consent-banner-offset;
}
}

html:has(
cx-anonymous-consent-management-banner
.anonymous-consent-banner:not(.anonymous-consent-banner-hidden)
) {
scroll-padding-bottom: $cx-anonymous-consent-banner-offset;
}
1 change: 1 addition & 0 deletions projects/storefrontstyles/scss/cxbase/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ $type: map-merge(
);

$header-height: 67px !default;
$cx-anonymous-consent-banner-offset: 11.25rem !default; // ~180px
Loading