mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-09-04 07:09:44 +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');
|
.theme(background-color, '@cell-background-color');
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
.hairline-bottom(@border-color, @padding-md);
|
.hairline-bottom(@border-color, @padding-md, @padding-md);
|
||||||
}
|
}
|
||||||
|
|
||||||
&--borderless::after {
|
&--borderless::after {
|
||||||
|
@ -17,11 +17,11 @@
|
|||||||
transform: scale(0.5);
|
transform: scale(0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hairline-bottom(@border-color: #eee, @left: 0) {
|
.hairline-bottom(@border-color: #eee, @left: 0, @right: 0) {
|
||||||
.hairline-common();
|
.hairline-common();
|
||||||
|
|
||||||
top: auto;
|
top: auto;
|
||||||
right: 0;
|
right: @right;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: @left;
|
left: @left;
|
||||||
border-bottom: 1px solid @border-color;
|
border-bottom: 1px solid @border-color;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user