mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
Revert "[improvement] Field: increase clickable area of icon (#4058)"
This reverts commit 5da8ea5d0f92c026353a99da858549faf9114f3f.
This commit is contained in:
parent
f4125bceb8
commit
f728931527
@ -76,26 +76,12 @@
|
||||
font-size: @field-clear-icon-size;
|
||||
}
|
||||
|
||||
&__left-icon,
|
||||
&__right-icon {
|
||||
position: relative;
|
||||
|
||||
.van-icon {
|
||||
display: block;
|
||||
min-width: 1em;
|
||||
font-size: @field-icon-size;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
// increase clickable area size
|
||||
&::after {
|
||||
position: absolute;
|
||||
top: -5px;
|
||||
right: -5px;
|
||||
bottom: -5px;
|
||||
left: -5px;
|
||||
content: '';
|
||||
}
|
||||
&__left-icon .van-icon,
|
||||
&__right-icon .van-icon {
|
||||
display: block;
|
||||
min-width: 1em;
|
||||
font-size: @field-icon-size;
|
||||
line-height: inherit;
|
||||
}
|
||||
|
||||
&__left-icon {
|
||||
|
Loading…
x
Reference in New Issue
Block a user