diff --git a/frontend/src/layout/components/Sidebar/index.scss b/frontend/src/layout/components/Sidebar/index.scss index 408a766c18b2..bc365c9623dc 100644 --- a/frontend/src/layout/components/Sidebar/index.scss +++ b/frontend/src/layout/components/Sidebar/index.scss @@ -38,6 +38,7 @@ } } .el-sub-menu { + margin: 7px 0; &.is-active { .el-sub-menu__title { span { @@ -52,7 +53,7 @@ .el-sub-menu__title { background-color: var(--el-menu-item-bg-color); box-shadow: 0 0 4px rgba(0, 94, 235, 0.1); - margin-top: 7px; + margin: 0; height: 42px; line-height: 42px; border-radius: 4px; diff --git a/frontend/src/views/host/file-management/index.vue b/frontend/src/views/host/file-management/index.vue index 56cf400e5517..dc5fd196e60d 100644 --- a/frontend/src/views/host/file-management/index.vue +++ b/frontend/src/views/host/file-management/index.vue @@ -279,7 +279,7 @@ class="box-item" effect="dark" :content="row.path" - placement="top" + placement="right" >