Skip to content

Commit

Permalink
fix(typography): radio & checkbox btns
Browse files Browse the repository at this point in the history
  • Loading branch information
pimenovoleg committed Aug 16, 2018
1 parent 8b4d4f2 commit eafff68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
10 changes: 2 additions & 8 deletions src/lib/checkbox/_checkbox-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,8 @@
}

@mixin mc-checkbox-typography($config) {
.mc-checkbox {
font-family: mc-font-family($config);
font-size: mc-font-size($config, body);
line-height: mc-line-height($config, body);
}

.mc-checkbox,
.mc-checkbox-layout .mc-checkbox-label {
line-height: mc-line-height($config, body);
font-size: mc-font-size($config, body);
@include mc-typography-level-to-styles($config, body);
}
}
5 changes: 2 additions & 3 deletions src/lib/radio/_radio-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@
@mixin mc-radio-typography($config) {

.mc-radio-button {
font-family: mc-font-family($config);
font-size: mc-font-size($config, subheading);
line-height: mc-line-height($config, caption);
@include mc-typography-level-to-styles($config, body);
line-height: 16px;
}
}

0 comments on commit eafff68

Please sign in to comment.