From 39462458a410cee492d6ca56c47723540ffe87ac Mon Sep 17 00:00:00 2001 From: Diana Catalina Olarte Date: Sat, 2 Dec 2023 09:12:46 +1100 Subject: [PATCH] fix: update css media brackpoints --- src/index.scss | 1 - src/sass/_registration.scss | 2 +- src/sass/_style.scss | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/index.scss b/src/index.scss index 8f953c413d..d9708b4773 100755 --- a/src/index.scss +++ b/src/index.scss @@ -1,5 +1,4 @@ @use "@edx/paragon/styles/css/core/custom-media-breakpoints.css" as paragonCustomMediaBreakpoints; -@use "@edx/paragon/styles/scss/core/core"; @import "~@edx/brand/paragon/overrides"; @import "@edx/frontend-component-cookie-policy-banner/build/_cookie-policy-banner"; diff --git a/src/sass/_registration.scss b/src/sass/_registration.scss index 459b3e2b96..4b3c943552 100644 --- a/src/sass/_registration.scss +++ b/src/sass/_registration.scss @@ -99,7 +99,7 @@ } } -@media (max-width: map-get($grid-breakpoints, "sm")) { +@media (--pgn-size-breakpoint-max-width-sm ) { .username-scroll-suggested--form-field { width: 15rem; } diff --git a/src/sass/_style.scss b/src/sass/_style.scss index 05d3a8f74f..8fa2b3bf78 100644 --- a/src/sass/_style.scss +++ b/src/sass/_style.scss @@ -467,7 +467,7 @@ select.form-control { margin-bottom: 0.5rem; font-weight: 700; - @include media-breakpoint-down('md') { + @media (--min-pgn-size-breakpoint-md) { line-height: 1.5rem; font-size: 1.125rem; }