Skip to content

Commit 6bc97ae

Browse files
author
Guillermo Moraleda
committed
Fix mobile sidebar order and dark mode toggle visibility
1 parent fae2bc4 commit 6bc97ae

1 file changed

Lines changed: 20 additions & 6 deletions

File tree

_sass/responsive.scss

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,35 @@
2020
@media screen and (max-width: 768px) {
2121
.container {
2222
.container-block {
23-
display: block;
23+
display: flex;
24+
flex-direction: column;
25+
row-gap: 16px;
26+
.main {
27+
order: 1;
28+
}
29+
.sidebar {
30+
order: 2;
31+
margin-top: 0;
32+
}
2433
}
2534
}
2635
.header {
27-
display: block;
36+
display: flex;
37+
align-items: center;
2838
.title {
29-
margin:0 auto;
30-
}
31-
input, label {
32-
display: none;
39+
margin: 0;
3340
}
3441
}
3542
.header {
3643
.title {
3744
font-size: 32px;
3845
}
46+
label {
47+
display: inline-flex;
48+
align-items: center;
49+
justify-content: center;
50+
min-width: 32px;
51+
min-height: 32px;
52+
}
3953
}
4054
}

0 commit comments

Comments
 (0)