Skip to content

Commit 33f327d

Browse files
author
allen
committed
feat: 样式优化
1 parent cb5ecf9 commit 33f327d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/layout/Aside.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,13 @@ function getMenus(route: any, path: string) {
4444

4545
<style lang="scss" scoped>
4646
.el-menu {
47-
margin-top: 60px;
47+
position: relative;
48+
padding-top: 60px;
4849
border-right: 0;
4950
width: 200px;
5051
&::before {
5152
overflow: hidden;
52-
position: fixed;
53+
position: absolute;
5354
top: 0;
5455
z-index: 10;
5556
box-sizing: border-box;

0 commit comments

Comments
 (0)