Skip to content
Snippets Groups Projects
Commit 3fa0fc60 authored by Sereza7's avatar Sereza7 Committed by Simon Urli
Browse files

XWIKI-13987: Navbar height is increased by 5px on small device (<768px)

* Removed the space used by the left navbar when it has no children (xwiki standard's default)
parent 97cab6fb
No related branches found
No related tags found
No related merge requests found
......@@ -45,6 +45,10 @@
float: left;
margin-left: @navbar-padding-horizontal;
margin-right: @navbar-padding-horizontal;
/* Without this rule, the left navbar will cause unexpected layout shifts even when it's empty. */
&:not(:has(> *)) {
margin-top: 0;
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment