1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +02:00

Refactor side navigation CSS

This commit is contained in:
Toby Zerner
2015-08-13 13:07:50 +09:30
parent fa77ad7e0d
commit 4ed379794a

View File

@@ -48,8 +48,7 @@
}
}
@media @tablet {
.sideNav {
.sideNav--horizontal {
padding: 15px 0;
white-space: nowrap;
overflow: auto;
@@ -66,7 +65,7 @@
> ul > li, .Dropdown-menu > li {
display: inline-block;
margin-right: 20px;
margin: 0 20px 0 0;
}
.Dropdown-separator {
display: none;
@@ -84,6 +83,10 @@
position: static;
}
}
@media @tablet {
.sideNav {
.sideNav--horizontal();
}
}
@media @desktop-up {
@@ -97,7 +100,7 @@
margin-top: 30px;
&.affix {
top: 56px;
top: @header-height;
}
> li {
margin-bottom: 10px;