fix(label): move default flex and margin to item (#16461)

This moves item-specific margin and flex values out of label and into item as a slotted style to prevent those styles from leaking into labels further down the tree.

closes #15393
This commit is contained in:
Cam Wiegert
2018-11-26 18:30:17 -06:00
committed by GitHub
parent 09d69b9bf6
commit 723d17b868
8 changed files with 37 additions and 12 deletions

View File

@ -10,12 +10,8 @@
*/
--color: initial;
@include margin(0);
display: block;
flex: 1;
color: var(--color);
font-family: $font-family-base;