Skip to content

Commit 1fa40b6

Browse files
bug(md-slide-toggle): slide toggle should fit to it's content width
Fixes angular#3230
1 parent ceb472b commit 1fa40b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/slide-toggle/slide-toggle.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ $mat-slide-toggle-ripple-radius: 23px !default;
1414

1515

1616
.mat-slide-toggle {
17-
display: flex;
17+
display: inline-block;
1818
height: $mat-slide-toggle-height;
1919

2020
margin: $mat-slide-toggle-margin 0;

0 commit comments

Comments
 (0)