style(Picker): improve text size adjust (#6205)
* style(Picker): improve text size adjust * chore: remove text align center * fix: snapsho
This commit is contained in:
@@ -87,16 +87,17 @@
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
font-size: @picker-option-font-size;
|
||||
text-align: center;
|
||||
|
||||
&__wrapper {
|
||||
transition-timing-function: cubic-bezier(0.23, 1, 0.68, 1);
|
||||
}
|
||||
|
||||
&__item {
|
||||
padding: 0 5px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 @padding-base;
|
||||
color: @picker-option-text-color;
|
||||
-webkit-text-size-adjust: 100%; /* avoid iOS text size adjust */
|
||||
|
||||
&--disabled {
|
||||
opacity: @picker-option-disabled-opacity;
|
||||
|
||||
Reference in New Issue
Block a user