fix: removing '-1 +' from media queries (#1727)

This commit is contained in:
jacobo-dominguez-wgu
2025-06-04 17:27:04 -06:00
committed by GitHub
parent d1dede568e
commit 7edac93752
4 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
#course-sidebar {
@media (max-width: -1 + map-get($grid-breakpoints, "lg")) {
@media (max-width: map-get($grid-breakpoints, "lg")) {
overflow-y: scroll;
padding: 0 .625rem !important;
}

View File

@@ -66,7 +66,7 @@
border-radius: 0;
padding: map-get($spacers, 3\.5) map-get($spacers, 4) map-get($spacers, 3\.5) map-get($spacers, 5);
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
@media (max-width: map-get($grid-breakpoints, "sm")) {
padding-left: map-get($spacers, 4);
}
@@ -90,7 +90,7 @@
ol li > a {
padding: map-get($spacers, 3\.5) map-get($spacers, 4) map-get($spacers, 3\.5) map-get($spacers, 5\.5);
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
@media (max-width: map-get($grid-breakpoints, "sm")) {
padding-left: map-get($spacers, 4\.5);
}

View File

@@ -1,5 +1,5 @@
.discussions-sidebar-frame {
@media (max-width: -1 + map-get($grid-breakpoints, "xl")) {
@media (max-width: map-get($grid-breakpoints, "xl")) {
max-height: calc(100vh - 65px);
}
}

View File

@@ -87,7 +87,7 @@
}
.notification-btn {
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
@media (max-width: map-get($grid-breakpoints, "sm")) {
height: 3rem;
}
}
@@ -96,7 +96,7 @@
display: flex;
flex-grow: 1;
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
@media (max-width: map-get($grid-breakpoints, "sm")) {
max-width: 100%;
}
@@ -104,7 +104,7 @@
margin: -1px -1px 0;
}
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
@media (max-width: map-get($grid-breakpoints, "sm")) {
width: 100% !important;
}
@@ -249,7 +249,7 @@
justify-content: center;
align-items: center;
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
@media (max-width: map-get($grid-breakpoints, "sm")) {
padding-top: 1rem;
padding-bottom: 1rem;
}
@@ -332,7 +332,7 @@
max-width: 640px;
margin: 0 auto;
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
@media (max-width: map-get($grid-breakpoints, "sm")) {
flex-direction: column;
gap: $spacer;
}