From dd8e73d8ca06e192cf44371a9711929178ec25fa Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 4 Jan 2025 18:30:27 +0200 Subject: [PATCH] feat(mobile): display modals at the bottom of the screen --- src/public/stylesheets/style.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css index e539ec16b..0f3f2a245 100644 --- a/src/public/stylesheets/style.css +++ b/src/public/stylesheets/style.css @@ -1218,6 +1218,18 @@ body.mobile #launcher-pane .dropdown-menu.show { #mobile-sidebar-container.show #mobile-sidebar-wrapper { transform: translateX(0); } + + body.mobile .modal.show { + background-color: rgba(0, 0, 0, 0.7); + } + + body.mobile .modal-dialog { + position: fixed; + bottom: 0; + left: 0; + right: 0; + margin: 0 !important; + } } /* Mobile, tablet mode */