Skip to content

Commit

Permalink
fix(inputs): apply font-size variable to simple textbox (telerik#853)
Browse files Browse the repository at this point in the history
see kendo-angular/#1178
  • Loading branch information
elena-gancheva authored and gyoshev committed Jan 24, 2018
1 parent fbd4d8c commit 5b67399
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scss/input/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
$checkbox-dash-offset-x: $checkbox-border-width * 2 !default;
$checkbox-dash-offset-y: ( $checkbox-size - $checkbox-dash-height ) / 2 !default;

$textbox-font-size: $font-size !default;
$textbox-line-height: $form-line-height-em !default;
// TODO: legacy, consider switching to 100%
$textbox-default-width: $input-default-width !default;
Expand All @@ -29,6 +30,7 @@
border-style: solid;
outline: 0;
font: inherit;
font-size: $textbox-font-size;
line-height: $textbox-line-height;
display: inline-flex;
vertical-align: middle;
Expand Down Expand Up @@ -66,6 +68,7 @@
color: inherit;
background: none;
font: inherit;
font-size: $textbox-font-size;
flex: 1;
display: flex;
align-items: center;
Expand Down

0 comments on commit 5b67399

Please sign in to comment.