1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-25 02:41:46 +08:00

style(Picker): improve text size adjust ()

This commit is contained in:
neverland 2020-04-29 19:53:42 +08:00 committed by GitHub
parent 46abe09817
commit 771d21c9b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;