Add viewport padding to dialogs on mobile
This commit is contained in:
@@ -35,4 +35,11 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Ensure padding from viewport edges on narrow screens */
|
||||
@media (max-width: 639px) {
|
||||
.dialog.panel {
|
||||
max-inline-size: 94vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user