Skip to content

Commit

Permalink
Vertically center modals
Browse files Browse the repository at this point in the history
  • Loading branch information
canac committed Feb 13, 2025
1 parent 9daf420 commit dacddd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/assets/scss/_modal.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/* Center dialog on small screens. Bootstrap only applies this margin on screens wider than $screen-sm-min. */
.modal-dialog {
/* Center dialog on small screens. Bootstrap only applies this margin on screens wider than $screen-sm-min. */
margin-inline: auto;
/* Center dialog vertically */
align-content: center;
}

.modal-content.give-modal-content {
Expand Down

0 comments on commit dacddd8

Please sign in to comment.