Skip to content

Commit

Permalink
Remove the rest of screen-ands
Browse files Browse the repository at this point in the history
  • Loading branch information
pepelsbey committed May 23, 2024
1 parent 4e8db27 commit a65fe62
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/src/document/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ kbd {
);
}

@media screen and not (min-height: $screen-height-place-limit) {
@media not (min-height: $screen-height-place-limit) {
overflow: auto;
}
}
Expand Down
3 changes: 1 addition & 2 deletions client/src/document/interactive-examples.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@
// wide in the mobile layout to the time it switches
// to two columns. Then, from the time the iframe
// is 590px wide in the two-column layout on up.
@media (min-width: 688px) and (max-width: $screen-md - 1),
screen and (min-width: 1008px) {
@media (min-width: 688px) and (max-width: $screen-md - 1), (min-width: 1008px) {
.interactive {
height: 375px;

Expand Down
3 changes: 1 addition & 2 deletions client/src/document/organisms/sidebar/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,7 @@
@media (min-width: $screen-md) {
display: flex;
}
@media (min-width: $screen-lg),
screen and (min-height: $screen-height-place-limit) {
@media (min-width: $screen-lg), (min-height: $screen-height-place-limit) {
display: block;
overflow: auto;
}
Expand Down

0 comments on commit a65fe62

Please sign in to comment.