mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(picker): add color to picker-opt so the variable will style correctly
fixes #9519
This commit is contained in:
@@ -127,6 +127,7 @@ $picker-ios-option-offset-y: (($picker-ios-height - $picker-io
|
||||
|
||||
font-size: $picker-ios-option-font-size;
|
||||
line-height: $picker-ios-option-height;
|
||||
color: $picker-ios-option-text-color;
|
||||
|
||||
background: transparent;
|
||||
transform-origin: center center;
|
||||
|
||||
@@ -114,6 +114,7 @@ $picker-md-option-selected-color: color($colors-md, primary) !defaul
|
||||
|
||||
font-size: $picker-md-option-font-size;
|
||||
line-height: $picker-md-option-height;
|
||||
color: $picker-md-option-text-color;
|
||||
|
||||
background: transparent;
|
||||
|
||||
|
||||
@@ -123,7 +123,6 @@ ion-picker-cmp {
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
color: #000;
|
||||
|
||||
will-change: transform;
|
||||
contain: strict;
|
||||
|
||||
@@ -127,6 +127,7 @@ $picker-wp-option-selected-color: color($colors-wp, primary) !defaul
|
||||
|
||||
font-size: $picker-wp-option-font-size;
|
||||
line-height: $picker-wp-option-height;
|
||||
color: $picker-wp-option-text-color;
|
||||
|
||||
background: transparent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user