fix(select): set default font size (#2976)

This commit is contained in:
Kara
2017-02-10 13:30:39 -08:00
committed by tinayuangao
parent 07ec765ed7
commit 40bc486fa4
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -1,6 +1,9 @@
@import '../style/menu-common';
@import '../a11y/a11y';
/** Default size of option text. */
$mat-option-font-size: 16px !default;
/**
* This mixin contains shared option styles between the select and
* autocomplete components.
@@ -11,6 +14,7 @@
position: relative;
cursor: pointer;
outline: none;
font-size: $mat-option-font-size;
&[aria-disabled='true'] {
cursor: default;
+2
View File
@@ -9,6 +9,7 @@ $mat-select-trigger-min-width: 112px !default;
$mat-select-arrow-size: 5px !default;
$mat-select-arrow-margin: 4px !default;
$mat-select-panel-max-height: 256px !default;
$mat-select-trigger-font-size: 16px !default;
.mat-select {
display: inline-block;
@@ -25,6 +26,7 @@ $mat-select-panel-max-height: 256px !default;
cursor: pointer;
position: relative;
box-sizing: border-box;
font-size: $mat-select-trigger-font-size;
[aria-disabled='true'] & {
@include mat-control-disabled-underline();