mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-01-19 01:14:06 +01:00
Fixed non-index navigation links appearing as clickable
This commit is contained in:
parent
c834dff30b
commit
f30775fa0a
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.9f9400aa.min.css
vendored
Normal file
1
material/assets/stylesheets/main.9f9400aa.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
@ -34,7 +34,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.2e8b5541.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.9f9400aa.min.css' | url }}">
|
||||||
{% if config.theme.palette %}
|
{% if config.theme.palette %}
|
||||||
{% set palette = config.theme.palette %}
|
{% set palette = config.theme.palette %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.cbb835fc.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.cbb835fc.min.css' | url }}">
|
||||||
|
@ -607,9 +607,9 @@
|
|||||||
background: var(--md-default-bg-color);
|
background: var(--md-default-bg-color);
|
||||||
box-shadow: 0 0 px2rem(8px) px2rem(8px) var(--md-default-bg-color);
|
box-shadow: 0 0 px2rem(8px) px2rem(8px) var(--md-default-bg-color);
|
||||||
|
|
||||||
// Make navigation link clickable
|
// Non-index section should not be clickable
|
||||||
&--index [href] {
|
&:not(.md-nav__link--index) {
|
||||||
pointer-events: initial;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hide naviation icon
|
// Hide naviation icon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user