refactor(cell): adjust hairline position (#3487)

This commit is contained in:
rex 2020-08-06 10:49:55 +08:00 committed by GitHub
parent 0284229ffd
commit 269bc060e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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;