Skip to content

Commit b7f96a0

Browse files
committed
refine sidebar css
1 parent c74147f commit b7f96a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/views/layout/Layout.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
position: relative;
5454
height: 100%;
5555
width: 100%;
56-
padding-left: 180px;
5756
&.hideSidebar {
5857
padding-left: 40px;
5958
.sidebar-wrapper {
@@ -69,6 +68,9 @@
6968
}
7069
}
7170
}
71+
.main-container{
72+
padding-left: 0px;
73+
}
7274
}
7375
.sidebar-wrapper {
7476
width: 180px;
@@ -88,6 +90,7 @@
8890
width: 100%;
8991
min-height: 100%;
9092
transition: all .28s ease-out;
93+
padding-left: 180px;
9194
}
9295
}
9396
</style>

0 commit comments

Comments
 (0)