mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed missing bottom padding for last nav item when tabs are enabled
This commit is contained in:
parent
6e5255a2d4
commit
d939a8f029
@ -171,6 +171,16 @@
|
||||
// Remove spacing on 2nd level items
|
||||
> .md-nav__list > .md-nav__item {
|
||||
padding: 0 px2rem(12px);
|
||||
|
||||
// Add bottom spacing to last item
|
||||
&:last-child {
|
||||
padding-bottom: px2rem(12px);
|
||||
|
||||
// Remove bottom spacing for nested items
|
||||
.md-nav__item {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Hide titles from 2nd level on
|
||||
|
Loading…
Reference in New Issue
Block a user