Fix menu-item space and notification badge for narrow style
This commit is contained in:
parent
e43162aee4
commit
49ad122fe5
|
@ -203,6 +203,7 @@ export default {
|
||||||
.release-collapse {
|
.release-collapse {
|
||||||
color: #dcdfe6;
|
color: #dcdfe6;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
margin-left: -10px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: #409eff;
|
color: #409eff;
|
||||||
|
@ -243,8 +244,18 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.narrow-menu {
|
.narrow-menu /deep/ {
|
||||||
width: 76px;
|
width: 64px;
|
||||||
|
|
||||||
|
.el-menu-item {
|
||||||
|
margin-left: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el-badge {
|
||||||
|
vertical-align: top;
|
||||||
|
line-height: 32px;
|
||||||
|
margin-left: -8px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue