Applu Jusuts suggestion of columns instead of block or inline

This commit is contained in:
Daniel Siepmann 2021-12-08 12:57:38 +01:00
parent e5ec51161d
commit 7d2b8e8b07

View file

@ -104,8 +104,8 @@ nav {
line-height: $spacer * 2; line-height: $spacer * 2;
} }
nav li { nav ul {
display: inline; columns: 4;
} }
} }
@ -120,8 +120,14 @@ nav {
@media (max-width: 768px) { @media (max-width: 768px) {
body > main > aside { body > main > aside {
nav li { nav {
display: block; ul {
columns: 2;
}
li {
display: block;
}
} }
} }
} }