Skip to content

Commit 3b6bac4

Browse files
committed
Change flex order to bring sidebar to left visually
1 parent a1a07db commit 3b6bac4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/resources/styles.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ main {
7777

7878
.sidebar-offcanvas-left {
7979
flex: 0 1 230px;
80+
order: 1;
8081
overflow-y: scroll;
8182
padding: 20px 0 15px 30px;
8283
margin: 5px 20px 0 0;
@@ -93,13 +94,15 @@ main {
9394

9495
.main-content {
9596
flex: 1;
97+
order: 2;
9698
overflow-y: scroll;
9799
padding: 10px 20px 0 20px;
98100
visibility: hidden; /* shown by Javascript after scroll position restore */
99101
}
100102

101103
.sidebar-offcanvas-right {
102104
flex: 0 1 12em;
105+
order: 3;
103106
overflow-y: scroll;
104107
padding: 20px 15px 15px 15px;
105108
margin-top: 5px;

0 commit comments

Comments
 (0)