Applu Jusuts suggestion of columns instead of block or inline
This commit is contained in:
parent
e5ec51161d
commit
7d2b8e8b07
1 changed files with 10 additions and 4 deletions
|
@ -104,8 +104,8 @@ nav {
|
|||
line-height: $spacer * 2;
|
||||
}
|
||||
|
||||
nav li {
|
||||
display: inline;
|
||||
nav ul {
|
||||
columns: 4;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -120,8 +120,14 @@ nav {
|
|||
|
||||
@media (max-width: 768px) {
|
||||
body > main > aside {
|
||||
nav li {
|
||||
nav {
|
||||
ul {
|
||||
columns: 2;
|
||||
}
|
||||
|
||||
li {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue