mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 10:56:35 +08:00
style(Picker): improve text size adjust (#6174)
This commit is contained in:
parent
46abe09817
commit
771d21c9b8
@ -4,17 +4,17 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
background-color: @picker-background-color;
|
background-color: @picker-background-color;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
-webkit-text-size-adjust: 100%; /* avoid iOS text size adjust */
|
|
||||||
|
|
||||||
&__toolbar {
|
&__toolbar {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: @picker-toolbar-height;
|
height: @picker-toolbar-height;
|
||||||
line-height: @picker-toolbar-height;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__cancel,
|
&__cancel,
|
||||||
&__confirm {
|
&__confirm {
|
||||||
|
height: 100%;
|
||||||
padding: @picker-action-padding;
|
padding: @picker-action-padding;
|
||||||
color: @picker-action-text-color;
|
color: @picker-action-text-color;
|
||||||
font-size: @picker-action-font-size;
|
font-size: @picker-action-font-size;
|
||||||
@ -96,6 +96,7 @@
|
|||||||
&__item {
|
&__item {
|
||||||
padding: 0 5px;
|
padding: 0 5px;
|
||||||
color: @picker-option-text-color;
|
color: @picker-option-text-color;
|
||||||
|
-webkit-text-size-adjust: 100%; /* avoid iOS text size adjust */
|
||||||
|
|
||||||
&--disabled {
|
&--disabled {
|
||||||
opacity: @picker-option-disabled-opacity;
|
opacity: @picker-option-disabled-opacity;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user