Skip to content

Commit 8adb209

Browse files
committed
created file to adjust sidebar size
1 parent 0f3e092 commit 8adb209

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

_sass/custom/custom.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.side-bar {
2+
z-index: 0;
3+
display: flex;
4+
flex-wrap: wrap;
5+
background-color: $sidebar-color;
6+
7+
@include mq(md) {
8+
flex-flow: column nowrap;
9+
position: fixed;
10+
width: $nav-width-md;
11+
height: 100%;
12+
border-right: $border $border-color;
13+
align-items: flex-end;
14+
}
15+
16+
@include mq(lg) {
17+
width: calc((100% - #{$nav-width + $content-width}) / 20 + #{$nav-width});
18+
min-width: $nav-width;
19+
}
20+
}

0 commit comments

Comments
 (0)