Skip to content

Commit

Permalink
feat(mobile): display modals at the bottom of the screen
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Jan 4, 2025
1 parent f7d3737 commit dd8e73d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit dd8e73d

Please sign in to comment.