Skip to content

Commit e08d047

Browse files
committed
Stretch outline of navigation section
1 parent 8a1244e commit e08d047

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

material/templates/assets/stylesheets/main.800c1d3a.min.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

material/templates/assets/stylesheets/main.d451bc0e.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/templates/assets/stylesheets/main.800c1d3a.min.css.map renamed to material/templates/assets/stylesheets/main.d451bc0e.min.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{% endif %}
4545
{% endblock %}
4646
{% block styles %}
47-
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.800c1d3a.min.css' | url }}">
47+
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.d451bc0e.min.css' | url }}">
4848
{% if config.theme.palette %}
4949
{% set palette = config.theme.palette %}
5050
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.a5377069.min.css' | url }}">

src/templates/assets/stylesheets/main/components/_nav.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
}
126126

127127
// Navigation link on focus/hover
128-
@at-root :is(a#{&}, label#{&}):is(:focus, :hover) {
128+
&:is([href], [for]):is(:focus, :hover) {
129129
color: var(--md-accent-fg-color);
130130
cursor: pointer;
131131
}
@@ -606,8 +606,9 @@
606606
pointer-events: none;
607607
}
608608

609-
// Hide naviation icon
610-
.md-nav__icon {
609+
// Hide navigation icon
610+
> [for],
611+
.md-icon {
611612
display: none;
612613
}
613614
}

0 commit comments

Comments
 (0)