mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-16 18:54:34 +01:00
refactor: Media queries (#2680)
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
@import "../css/_variables";
|
||||
|
||||
// this is loosely based on the longest hint text
|
||||
$wide-viewport-width: 1000px;
|
||||
|
||||
.excalidraw {
|
||||
.HintViewer {
|
||||
pointer-events: none;
|
||||
@@ -16,12 +19,9 @@
|
||||
color: $oc-gray-6;
|
||||
font-size: 0.8rem;
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
@media #{$media-query} {
|
||||
@media #{$is-mobile-query} {
|
||||
position: static;
|
||||
padding-right: 2em;
|
||||
}
|
||||
|
||||
> span {
|
||||
|
||||
Reference in New Issue
Block a user