This commit is contained in:
TUTOR03 2020-12-13 17:27:29 +05:00
commit b5aa7a4ed6

View File

@ -1,27 +1,27 @@
.wrapper{ .wrapper {
display: flex; display: flex;
width: 100%; width: 100%;
align-items: stretch; align-items: stretch;
} }
#sidebar{ #sidebar {
min-width: 18%; min-width: 18%;
max-width: 18%; max-width: 18%;
min-height: 100vh; min-height: 100vh;
position: relative; position: relative;
background-color: #ADB5BD; background-color: #adb5bd;
transition: all 0.3s; transition: all 0.3s;
} }
#sidebar{ #sidebar {
margin-left: -18%; margin-left: -18%;
} }
#sidebar.active{ #sidebar.active {
margin-left: 0px; margin-left: 0px;
} }
#sidebar-toggle{ #sidebar-toggle {
position: absolute; position: absolute;
border-radius: 0; border-radius: 0;
top: 0; top: 0;
@ -29,10 +29,10 @@
} }
@media (max-width: 768px) { @media (max-width: 768px) {
#sidebar{ #sidebar {
margin-left: -250px; margin-left: -250px;
} }
#sidebar.active{ #sidebar.active {
margin-left: 0; margin-left: 0;
} }
} }