diff --git a/src/renderer/components/TimelineSpace/SideMenu.vue b/src/renderer/components/TimelineSpace/SideMenu.vue index 66bcb122..5727b681 100644 --- a/src/renderer/components/TimelineSpace/SideMenu.vue +++ b/src/renderer/components/TimelineSpace/SideMenu.vue @@ -36,52 +36,54 @@ :router="true" :class="collapse ? 'el-menu-vertical timeline-menu narrow-menu':'el-menu-vertical timeline-menu'" role="menu"> - + {{ $t("side_menu.home") }} - + {{ $t("side_menu.notification") }} - + {{ $t("side_menu.favourite") }} - + {{ $t("side_menu.local") }} - + {{ $t("side_menu.public") }} - + {{ $t("side_menu.search") }} - + {{ $t("side_menu.hashtag") }} - + {{ $t("side_menu.lists") }} @@ -201,6 +203,7 @@ export default { .release-collapse { color: #dcdfe6; padding: 0; + margin-left: -10px; &:hover { color: #409eff; @@ -241,8 +244,18 @@ export default { } } - .narrow-menu { - width: 76px; + .narrow-menu /deep/ { + width: 64px; + + .el-menu-item { + margin-left: 4px; + } + + .el-badge { + vertical-align: top; + line-height: 32px; + margin-left: -8px; + } } }