mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
refactor(cell): adjust hairline position (#3487)
This commit is contained in:
parent
0284229ffd
commit
269bc060e8
@ -14,7 +14,7 @@
|
||||
.theme(background-color, '@cell-background-color');
|
||||
|
||||
&::after {
|
||||
.hairline-bottom(@border-color, @padding-md);
|
||||
.hairline-bottom(@border-color, @padding-md, @padding-md);
|
||||
}
|
||||
|
||||
&--borderless::after {
|
||||
|
@ -17,11 +17,11 @@
|
||||
transform: scale(0.5);
|
||||
}
|
||||
|
||||
.hairline-bottom(@border-color: #eee, @left: 0) {
|
||||
.hairline-bottom(@border-color: #eee, @left: 0, @right: 0) {
|
||||
.hairline-common();
|
||||
|
||||
top: auto;
|
||||
right: 0;
|
||||
right: @right;
|
||||
bottom: 0;
|
||||
left: @left;
|
||||
border-bottom: 1px solid @border-color;
|
||||
|
Loading…
x
Reference in New Issue
Block a user