From e8bae61afc5790eeb5fa6319933e51e79a27b9ea Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 29 Nov 2025 16:46:40 +0200 Subject: [PATCH] style(mobile): center modals on tablet view --- apps/client/src/stylesheets/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index 55551f7fb..eb8bdfc7b 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -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; }