Mitigate flickering of header shadow

This commit is contained in:
squidfunk
2023-02-26 19:13:28 +01:00
parent 9b581ae19e
commit 966e2eb269
2 changed files with 6 additions and 2 deletions

View File

@@ -23,7 +23,9 @@
<!-- Determine base classes -->
{% set class = "md-header" %}
{% if "navigation.tabs.sticky" in features %}
{% set class = class ~ " md-header--lifted" %}
{% set class = class ~ " md-header--shadow md-header--lifted" %}
{% elif "navigation.tabs" not in features %}
{% set class = class ~ " md-header--shadow" %}
{% endif %}
<!-- Header -->