From 9d4a34accd4f1376173bb524263e73c7c18094fc Mon Sep 17 00:00:00 2001 From: Elia Palme Date: Mon, 5 Jun 2017 23:44:16 +0200 Subject: [PATCH] fix(dialog): add flex wrap to style (#4846) Adding flex-wrap: wrap; would decrease the likelihood of hiding buttons on small screens. --- src/lib/dialog/dialog.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/dialog/dialog.scss b/src/lib/dialog/dialog.scss index fad1b372fb2..4a290217e65 100644 --- a/src/lib/dialog/dialog.scss +++ b/src/lib/dialog/dialog.scss @@ -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