Skip to content

Commit

Permalink
fix(dialog): add flex wrap to style (#4846)
Browse files Browse the repository at this point in the history
Adding flex-wrap: wrap; would decrease the likelihood of hiding buttons on small screens.
  • Loading branch information
theely authored and andrewseguin committed Jun 5, 2017
1 parent 157bda1 commit 9d4a34a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/dialog/dialog.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d4a34a

Please sign in to comment.