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:
@@ -171,6 +171,16 @@
|
|||||||
// Remove spacing on 2nd level items
|
// Remove spacing on 2nd level items
|
||||||
> .md-nav__list > .md-nav__item {
|
> .md-nav__list > .md-nav__item {
|
||||||
padding: 0 px2rem(12px);
|
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
|
// Hide titles from 2nd level on
|
||||||
|
|||||||
Reference in New Issue
Block a user