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 {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-sizing: content-box;
|
||||
height: @number-keyboard-title-height;
|
||||
padding-top: 6px;
|
||||
color: @number-keyboard-title-color;
|
||||
font-size: @number-keyboard-title-font-size;
|
||||
line-height: @number-keyboard-title-height;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&__title {
|
||||
@ -50,6 +51,7 @@
|
||||
&__close {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
height: 100%;
|
||||
padding: @number-keyboard-close-padding;
|
||||
color: @number-keyboard-close-color;
|
||||
font-size: @number-keyboard-close-font-size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user