mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed positioning of integrated table of contents
This commit is contained in:
parent
3e2a1fcb7e
commit
7bbc9f9ead
1
material/templates/assets/stylesheets/main.7e359304.min.css
vendored
Normal file
1
material/templates/assets/stylesheets/main.7e359304.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -44,7 +44,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.f2e4d321.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.7e359304.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.06af60db.min.css' | url }}">
|
||||
|
@ -710,7 +710,7 @@
|
||||
}
|
||||
|
||||
// Adjust spacing for nested navigation
|
||||
> .md-nav {
|
||||
> .md-nav:not(.md-nav--secondary) {
|
||||
margin-inline-start: px2rem(-12px);
|
||||
}
|
||||
|
||||
@ -732,16 +732,6 @@
|
||||
// Modifier for when table of contents is rendered in primary navigation
|
||||
&--integrated > .md-nav__list > .md-nav__item--active {
|
||||
|
||||
// Add spacing to container for non-nested navigation items
|
||||
&:not(.md-nav__item--nested) {
|
||||
padding: 0 px2rem(12px);
|
||||
|
||||
// Remove padding as it's given by container
|
||||
> .md-nav__link {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Show integrated table of contents
|
||||
.md-nav--secondary {
|
||||
display: block;
|
||||
|
Loading…
Reference in New Issue
Block a user