feat: hide the last border in borderless mode (#34366)

This commit is contained in:
PanStar 2022-03-10 19:29:50 +08:00 committed by GitHub
parent fbb98f2b4f
commit 362a99e9d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,6 +120,11 @@
border-radius: 0;
}
// hide the last border-bottom in borderless mode
&-borderless > &-item:last-child {
border-bottom: 0;
}
&-borderless > &-item > &-content {
background-color: transparent;
border-top: 0;