Skip to content

Commit

Permalink
updated scss for modal-xl
Browse files Browse the repository at this point in the history
  • Loading branch information
steal4life committed Oct 16, 2023
1 parent a3a027c commit 59f75b1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 7 deletions.
14 changes: 11 additions & 3 deletions Source/Blazorise.Material/Styles/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,19 @@

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

.modal-content {
height: 60vh;
border-radius: unset;
height: unset;
overflow: unset;
}
}
}

@include media-breakpoint-up(xl) {
.modal-xl {
max-width: $dialog-width-xl;
}
}
}
2 changes: 1 addition & 1 deletion Source/Blazorise.Material/Styles/_variables-material.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ $dialog-transition-scale: 0.8 !default;
$dialog-width: 35rem !default; // 560px
$dialog-width-lg: 52.5rem !default; // 840px
$dialog-width-sm: 17.5rem !default; // 280px
$dialog-width-xl: $dialog-width-lg !default;
$dialog-width-xl: 71 !default;

// Based on https://material.io/archive/guidelines/components/expansion-panels.html

Expand Down
11 changes: 9 additions & 2 deletions Source/Blazorise.Material/wwwroot/blazorise.material.css
Original file line number Diff line number Diff line change
Expand Up @@ -1024,11 +1024,18 @@ select[readonly] optgroup {
}
.modal .modal-xl {
max-width: 1140px;
width: 1140px;
width: unset;
margin: 1.75rem auto;
}
.modal .modal-xl .modal-content {
height: 60vh;
border-radius: unset;
height: unset;
overflow: unset;
}
@media (min-width: 1200px) {
.modal .modal-xl {
max-width: 71;
}
}

.offcanvas, .offcanvas-xl, .offcanvas-lg, .offcanvas-md, .offcanvas-sm {
Expand Down

Large diffs are not rendered by default.

0 comments on commit 59f75b1

Please sign in to comment.