Set sidebar to max when on mobile
This commit is contained in:
parent
b2b83f062b
commit
5e0c44120d
1 changed files with 8 additions and 2 deletions
|
@ -6,6 +6,10 @@
|
|||
"nav main"
|
||||
"nav foot";
|
||||
}
|
||||
|
||||
aside {
|
||||
width: 250px;
|
||||
}
|
||||
}
|
||||
|
||||
/* mobile devices */
|
||||
|
@ -17,6 +21,10 @@
|
|||
"main"
|
||||
"foot";
|
||||
}
|
||||
|
||||
aside {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
|
@ -35,8 +43,6 @@ header {
|
|||
aside {
|
||||
background-color: white;
|
||||
|
||||
width: 250px;
|
||||
|
||||
grid-area: nav;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue