Skip to content

Commit

Permalink
make media query ranges inclusive of lower number
Browse files Browse the repository at this point in the history
  • Loading branch information
tblackwell-tm committed Mar 4, 2024
1 parent 018cc22 commit 7590099
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Clue/Clue.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}

/** Breakpoints **/
@media (vars.$breakpoint-sm < width <= vars.$breakpoint-md) {
@media (vars.$breakpoint-sm <= width <= vars.$breakpoint-md) {
.Clue {
scroll-margin-top: vars.$grid-size * 2.3;
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/Clues/Clues.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}
}

@media (vars.$breakpoint-sm < width <= vars.$breakpoint-md) {
@media (vars.$breakpoint-sm <= width <= vars.$breakpoint-md) {
.Clues {
flex-direction: column;
overflow-y: auto;
Expand All @@ -54,7 +54,7 @@
}


@media (vars.$breakpoint-xs < width <= vars.$breakpoint-sm) {
@media (vars.$breakpoint-xs <= width <= vars.$breakpoint-sm) {
.Clues {
margin-top: vars.$grid-size;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Crossword/Crossword.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
}

@media (vars.$breakpoint-xs < width <= vars.$breakpoint-sm) {
@media (vars.$breakpoint-xs <= width <= vars.$breakpoint-sm) {
.Crossword {
flex-direction: column;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Grid/Grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
}
}

@media (vars.$breakpoint-xs < width <= vars.$breakpoint-sm) {
@media (vars.$breakpoint-xs <= width <= vars.$breakpoint-sm) {
.Grid {
scroll-margin-top: vars.$grid-size * 5;
}
Expand Down

0 comments on commit 7590099

Please sign in to comment.