Skip to content

Commit 7edac93

Browse files
fix: removing '-1 +' from media queries (#1727)
1 parent d1dede5 commit 7edac93

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

src/courseware/course/sidebar/common/SidebarBase.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#course-sidebar {
2-
@media (max-width: -1 + map-get($grid-breakpoints, "lg")) {
2+
@media (max-width: map-get($grid-breakpoints, "lg")) {
33
overflow-y: scroll;
44
padding: 0 .625rem !important;
55
}

src/courseware/course/sidebar/sidebars/course-outline/CourseOutlineTray.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
border-radius: 0;
6767
padding: map-get($spacers, 3\.5) map-get($spacers, 4) map-get($spacers, 3\.5) map-get($spacers, 5);
6868

69-
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
69+
@media (max-width: map-get($grid-breakpoints, "sm")) {
7070
padding-left: map-get($spacers, 4);
7171
}
7272

@@ -90,7 +90,7 @@
9090
ol li > a {
9191
padding: map-get($spacers, 3\.5) map-get($spacers, 4) map-get($spacers, 3\.5) map-get($spacers, 5\.5);
9292

93-
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
93+
@media (max-width: map-get($grid-breakpoints, "sm")) {
9494
padding-left: map-get($spacers, 4\.5);
9595
}
9696

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.discussions-sidebar-frame {
2-
@media (max-width: -1 + map-get($grid-breakpoints, "xl")) {
2+
@media (max-width: map-get($grid-breakpoints, "xl")) {
33
max-height: calc(100vh - 65px);
44
}
55
}

src/index.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
}
8888

8989
.notification-btn {
90-
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
90+
@media (max-width: map-get($grid-breakpoints, "sm")) {
9191
height: 3rem;
9292
}
9393
}
@@ -96,15 +96,15 @@
9696
display: flex;
9797
flex-grow: 1;
9898

99-
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
99+
@media (max-width: map-get($grid-breakpoints, "sm")) {
100100
max-width: 100%;
101101
}
102102

103103
@media (min-width: map-get($grid-breakpoints, "sm")) {
104104
margin: -1px -1px 0;
105105
}
106106

107-
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
107+
@media (max-width: map-get($grid-breakpoints, "sm")) {
108108
width: 100% !important;
109109
}
110110

@@ -249,7 +249,7 @@
249249
justify-content: center;
250250
align-items: center;
251251

252-
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
252+
@media (max-width: map-get($grid-breakpoints, "sm")) {
253253
padding-top: 1rem;
254254
padding-bottom: 1rem;
255255
}
@@ -332,7 +332,7 @@
332332
max-width: 640px;
333333
margin: 0 auto;
334334

335-
@media (max-width: -1 + map-get($grid-breakpoints, "sm")) {
335+
@media (max-width: map-get($grid-breakpoints, "sm")) {
336336
flex-direction: column;
337337
gap: $spacer;
338338
}

0 commit comments

Comments
 (0)