Skip to content

Commit 836f93f

Browse files
committed
style: tweak sizing of page sections
1 parent 0eaf572 commit 836f93f

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

components/page/page-style.scss

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,19 @@
1010

1111
// XXX: Temporary hack to fix sidebar width
1212
.page > div:first-of-type {
13-
flex: 0 0 auto;
13+
display: none;
1414
position: relative;
1515
overflow: hidden;
1616

1717
@include break {
18-
flex:0 0 30%;
19-
}
20-
21-
@include break('large') {
22-
flex:0 0 25%;
18+
display: block;
19+
flex: 0 0 280px;
2320
}
2421
}
2522

2623
.page__content {
24+
flex: 1 1 auto;
2725
overflow-x: hidden;
28-
width: 100%;
2926
padding: 1.5em 1em;
3027

3128
@media break {

0 commit comments

Comments
 (0)