mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
Improve handling of modals on small windows
This commit is contained in:
@@ -4673,18 +4673,23 @@ img.tile-debug {
|
||||
/* Modals / Prompts
|
||||
------------------------------------------------------- */
|
||||
.modal {
|
||||
top: 40px;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
top: 5%;
|
||||
max-height: 90%;
|
||||
position: relative;
|
||||
border-radius: 3px;
|
||||
overflow: hidden;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: auto;
|
||||
z-index: 50;
|
||||
width: 80%;
|
||||
min-width: 200px;
|
||||
max-width: 550px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.modal .content {
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.modal .loader {
|
||||
|
||||
Reference in New Issue
Block a user