-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Media queries #2680
refactor: Media queries #2680
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/excalidraw/excalidraw/dhx0dk5ua |
Maybe part of the dialog property? |
@@ -153,6 +154,8 @@ | |||
} | |||
} | |||
|
|||
// move the lock button out of the way on small viewports | |||
// it begins to collide with the GitHub icon before we switch to mobile mode | |||
@media (max-width: 760px) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we get those in variables? 425/760
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since they’re only used once and are fairly specific to the context I think it’s ok to use them as-is (with the comment that I added) and only pull them out if it becomes a problem
Fixes #2678