mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
style(NumberKeyboard): improve text size adjust (#6179)
This commit is contained in:
parent
13026036f8
commit
cc23cde154
@ -17,13 +17,14 @@
|
|||||||
|
|
||||||
&__header {
|
&__header {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
height: @number-keyboard-title-height;
|
height: @number-keyboard-title-height;
|
||||||
padding-top: 6px;
|
padding-top: 6px;
|
||||||
color: @number-keyboard-title-color;
|
color: @number-keyboard-title-color;
|
||||||
font-size: @number-keyboard-title-font-size;
|
font-size: @number-keyboard-title-font-size;
|
||||||
line-height: @number-keyboard-title-height;
|
|
||||||
text-align: center;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__title {
|
&__title {
|
||||||
@ -50,6 +51,7 @@
|
|||||||
&__close {
|
&__close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
height: 100%;
|
||||||
padding: @number-keyboard-close-padding;
|
padding: @number-keyboard-close-padding;
|
||||||
color: @number-keyboard-close-color;
|
color: @number-keyboard-close-color;
|
||||||
font-size: @number-keyboard-close-font-size;
|
font-size: @number-keyboard-close-font-size;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user