Skip to content

Commit 0ecf8f6

Browse files
chore: layout state fix
1 parent e503f36 commit 0ecf8f6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/components/Layout/Layout.module.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@
1212
min-height: 100vh;
1313
display: flex;
1414
margin-left: 284px;
15-
left: 0;
1615
flex-direction: column;
16+
//left: $sidebar-width-open - $sidebar-width-closed;
1717
right: 0;
1818
transition: left $sidebar-transition-time ease-in-out, margin-left $sidebar-transition-time ease-in-out;
1919

2020
@media (max-width: breakpoint-max(sm)) {
2121
margin-left: 0;
22+
//left: $sidebar-width-open;
2223
}
2324
}
2425

@@ -27,8 +28,8 @@
2728
}
2829

2930
.sidebarStatic .wrap {
30-
left: $sidebar-width-open !important;
31-
margin-left: 0;
31+
left: 0;
32+
margin-left: $sidebar-width-open;
3233
}
3334

3435
.content {

0 commit comments

Comments
 (0)