fix: 修正npm-dashboard的tab的活动条的偏差

This commit is contained in:
chenjinsong
2022-07-18 16:09:13 +08:00
parent 930647f416
commit d5b16afdf7
4 changed files with 35 additions and 7 deletions

View File

@@ -2,6 +2,10 @@
.el-tabs--top .el-tabs__item.is-top:nth-child(2) {
padding-left: 20px;
}
.el-tabs__nav-wrap::after {
height: 1px;
background-color: #E2E5EC;
}
.el-tabs--top .el-tabs__item {
padding: 0;
}
@@ -27,7 +31,7 @@
&.is-active {
.npm-tab__label {
color: #353636;
box-shadow: 1px 0 0px 0px #E2E5EC, inset 1px 0 0 #E2E5EC;
box-shadow: 1px 0 0 0 #E2E5EC, inset 1px 0 0 #E2E5EC;
i {
color: #046EC9;