mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03: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 %}
|
||||
{% endblock %}
|
||||
{% 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 %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.cbb835fc.min.css' | url }}">
|
||||
|
@ -607,9 +607,9 @@
|
||||
background: var(--md-default-bg-color);
|
||||
box-shadow: 0 0 px2rem(8px) px2rem(8px) var(--md-default-bg-color);
|
||||
|
||||
// Make navigation link clickable
|
||||
&--index [href] {
|
||||
pointer-events: initial;
|
||||
// Non-index section should not be clickable
|
||||
&:not(.md-nav__link--index) {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
// Hide naviation icon
|
||||
|
Loading…
Reference in New Issue
Block a user