From 771d21c9b8590c808ea795d9d87e6783a561aee1 Mon Sep 17 00:00:00 2001 From: neverland Date: Wed, 29 Apr 2020 19:53:42 +0800 Subject: [PATCH] style(Picker): improve text size adjust (#6174) --- src/picker/index.less | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/picker/index.less b/src/picker/index.less index b455640a4..80b29bbc7 100644 --- a/src/picker/index.less +++ b/src/picker/index.less @@ -4,17 +4,17 @@ position: relative; background-color: @picker-background-color; user-select: none; - -webkit-text-size-adjust: 100%; /* avoid iOS text size adjust */ &__toolbar { display: flex; + align-items: center; justify-content: space-between; height: @picker-toolbar-height; - line-height: @picker-toolbar-height; } &__cancel, &__confirm { + height: 100%; padding: @picker-action-padding; color: @picker-action-text-color; font-size: @picker-action-font-size; @@ -96,6 +96,7 @@ &__item { padding: 0 5px; color: @picker-option-text-color; + -webkit-text-size-adjust: 100%; /* avoid iOS text size adjust */ &--disabled { opacity: @picker-option-disabled-opacity;