mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(dialog): add flex wrap to style (#4846)
Adding flex-wrap: wrap; would decrease the likelihood of hiding buttons on small screens.
This commit is contained in:
committed by
Andrew Seguin
parent
157bda19e2
commit
9d4a34accd
@@ -43,6 +43,7 @@ $mat-dialog-max-height: 65vh !default;
|
||||
.mat-dialog-actions {
|
||||
padding: $mat-dialog-padding / 2 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
&:last-child {
|
||||
// If the actions are the last element in a dialog, we need to pull them down
|
||||
|
||||
Reference in New Issue
Block a user