assets/stylesheets/material/material/_dialog.scss in material-sass-4.0.0 vs assets/stylesheets/material/material/_dialog.scss in material-sass-4.1.0
- old
+ new
@@ -13,11 +13,11 @@
@include transition-standard-complex(opacity);
.modal-dialog {
@include transition-standard-complex(transform);
- transform: scale($dialog-scale);
+ transform: scale($dialog-transition-scale);
}
}
&.show .modal-dialog {
transform: scale(1);
@@ -48,18 +48,18 @@
// Dialog
.modal-content {
@include border-radius($dialog-border-radius);
- background-clip: padding-box;
background-color: $dialog-content-bg;
box-shadow: map-get($dialog-elevation-shadow, shadow);
display: flex;
flex-direction: column;
outline: 0;
pointer-events: auto;
position: relative;
vertical-align: baseline;
+ width: 100%;
}
.modal-dialog {
margin: $dialog-margin-y auto;
max-width: $dialog-width;