From 2146ab4cec1cd8ae6dff53c8f40180db94768557 Mon Sep 17 00:00:00 2001 From: Dimitri Friedli Date: Tue, 23 Aug 2016 12:57:02 +0200 Subject: [PATCH] fix checkbox: add fixed width to checkbox add fixed width to the checkbox so they do not squish if the parent wrapper has a fixed width and the label text is too long. closes #1097 --- src/lib/checkbox/checkbox.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/checkbox/checkbox.scss b/src/lib/checkbox/checkbox.scss index 3c1ab171dbb3..88f4115c2594 100644 --- a/src/lib/checkbox/checkbox.scss +++ b/src/lib/checkbox/checkbox.scss @@ -240,6 +240,7 @@ md-checkbox { vertical-align: middle; white-space: nowrap; width: $md-checkbox-size; + flex: 0 0 $md-checkbox-size; [dir='rtl'] & { margin: {