Skip to content

Commit

Permalink
Fixed default tag icon overriding other icons
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Jan 15, 2024
1 parent d87c20f commit e68e133
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion material/templates/partials/icons.html
Expand Up @@ -32,7 +32,7 @@
{% for type, icon in config.theme.icon.tag.items() %}
{% import ".icons/" ~ icon ~ ".svg" as icon %}
{% if type != "default" %}
{% set modifier = "--" ~ type %}
{% set modifier = ".md-tag--" ~ type %}
{% endif %}
{% set _ = style.append(
".md-tag" ~ modifier ~ "{" ~
Expand Down
2 changes: 1 addition & 1 deletion src/templates/partials/icons.html
Expand Up @@ -56,7 +56,7 @@
{% for type, icon in config.theme.icon.tag.items() %}
{% import ".icons/" ~ icon ~ ".svg" as icon %}
{% if type != "default" %}
{% set modifier = "--" ~ type %}
{% set modifier = ".md-tag--" ~ type %}
{% endif %}
{% set _ = style.append(
".md-tag" ~ modifier ~ "{" ~
Expand Down

0 comments on commit e68e133

Please sign in to comment.