fix(tab): 修复纵向排列样式

This commit is contained in:
sight 2022-04-09 14:49:59 +08:00
parent a718b6f0f7
commit ca2ff33119

View File

@ -82,6 +82,25 @@
border: none;
border-radius: 0;
display: list-item;
margin-right: -1px;
margin-left: -1px;
}
.layui-tab-title.is-right {
border-left: 1px solid @global-neutral-color-3;
}
.layui-tab-title.is-left {
border-right: 1px solid @global-neutral-color-3;
}
.layui-tab-title.is-right .layui-this {
border-left-color: #FFF;
}
.layui-tab-title.is-left .layui-this {
border-right-color: #FFF;
}
.layui-tab-title .layui-this {
@ -129,7 +148,9 @@
border-bottom: 2px solid @global-checked-color;
}
.layui-tab-brief>.layui-tab-head.is-right>.layui-tab-title,
.layui-tab-brief>.layui-tab-head.is-right>.layui-tab-title{
border-left: 1px solid @global-neutral-color-3;
}
.layui-tab-brief>.layui-tab-head.is-left>.layui-tab-title {
border-right: 1px solid @global-neutral-color-3;
}