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:
neverland
2020-05-04 12:02:46 +08:00
committed by GitHub
parent 9215df7692
commit 8b328eabed
10 changed files with 2178 additions and 796 deletions
+4 -3
View File
@@ -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;