style(mobile): center modals on tablet view

This commit is contained in:
Elian Doran 2025-11-29 16:46:40 +02:00
parent c1f663a200
commit e8bae61afc
No known key found for this signature in database

View File

@ -212,6 +212,12 @@ input::placeholder,
background-color: var(--modal-backdrop-color) !important;
}
body.mobile .modal .modal-dialog {
left: 50%;
transform: translateX(-50%);
width: 100%;
}
body.mobile .modal .modal-content {
border-radius: var(--bs-modal-border-radius) var(--bs-modal-border-radius) 0 0;
}