Skip to content

Commit

Permalink
made modal-xl in material to look more like bootstrap4 and 5 modal
Browse files Browse the repository at this point in the history
  • Loading branch information
steal4life committed Oct 16, 2023
1 parent 53f168a commit a3a027c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Source/Blazorise.Material/Styles/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,14 @@
transition: opacity,transform var(--modal-animation-duration, 300ms) cubic-bezier(0,0,.2,1);
}
}

.modal-xl {
max-width: 1140px;
width: 1140px;
margin: 1.75rem auto;

.modal-content {
height: 60vh;
}
}
}
8 changes: 8 additions & 0 deletions Source/Blazorise.Material/wwwroot/blazorise.material.css
Original file line number Diff line number Diff line change
Expand Up @@ -1022,6 +1022,14 @@ select[readonly] optgroup {
transition: opacity, -webkit-transform var(--modal-animation-duration, 300ms) cubic-bezier(0, 0, 0.2, 1);
transition: opacity, transform var(--modal-animation-duration, 300ms) cubic-bezier(0, 0, 0.2, 1);
}
.modal .modal-xl {
max-width: 1140px;
width: 1140px;
margin: 1.75rem auto;
}
.modal .modal-xl .modal-content {
height: 60vh;
}

.offcanvas, .offcanvas-xl, .offcanvas-lg, .offcanvas-md, .offcanvas-sm {
--offcanvas-zindex: 1045;
Expand Down

Large diffs are not rendered by default.

0 comments on commit a3a027c

Please sign in to comment.