mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
refactor: Media queries (#2680)
This commit is contained in:
parent
6f82a88b79
commit
b8d13c98b5
11 changed files with 21 additions and 17 deletions
|
@ -1,3 +1,4 @@
|
|||
@import "open-color/open-color.scss";
|
||||
|
||||
$media-query: "(max-width: 600px), (max-height: 500px) and (max-width: 1000px)";
|
||||
// keep up to date with is-mobile.tsx
|
||||
$is-mobile-query: "(max-width: 600px), (max-height: 500px) and (max-width: 1000px)";
|
||||
|
|
|
@ -441,7 +441,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media #{$media-query} {
|
||||
@media #{$is-mobile-query} {
|
||||
aside {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue