Skip to content

Commit

Permalink
fix(select): set default font size
Browse files Browse the repository at this point in the history
  • Loading branch information
kara committed Feb 8, 2017
1 parent 4b830d3 commit 51632b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/core/option/_option.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
@import '../style/menu-common';
@import '../a11y/a11y';

/** Default size of option text. */
$md-option-font-size: 16px !default;

/**
* This mixin contains shared option styles between the select and
* autocomplete components.
Expand All @@ -11,6 +14,7 @@
position: relative;
cursor: pointer;
outline: none;
font-size: $md-option-font-size;

&[aria-disabled='true'] {
cursor: default;
Expand Down
2 changes: 2 additions & 0 deletions src/lib/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ $md-select-trigger-min-width: 112px !default;
$md-select-arrow-size: 5px !default;
$md-select-arrow-margin: 4px !default;
$md-select-panel-max-height: 256px !default;
$md-select-trigger-font-size: 16px !default;

md-select {
display: inline-block;
Expand All @@ -23,6 +24,7 @@ md-select {
cursor: pointer;
position: relative;
box-sizing: border-box;
font-size: $md-select-trigger-font-size;

[aria-disabled='true'] & {
@include md-control-disabled-underline();
Expand Down

0 comments on commit 51632b7

Please sign in to comment.