mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Merge pull request #10782 from atom/sm-flexible-modals
Shrink modals when window gets narrow
This commit is contained in:
@@ -84,6 +84,15 @@ atom-panel.modal {
|
||||
|
||||
padding: 10px;
|
||||
|
||||
// shrink modals when window gets narrow
|
||||
@media (max-width: 500px) {
|
||||
& {
|
||||
width: 100%;
|
||||
left: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-top: 0;
|
||||
color: @text-color-highlight;
|
||||
|
||||
Reference in New Issue
Block a user