Skip to content

Commit e68e133

Browse files
committed
Fixed default tag icon overriding other icons
1 parent d87c20f commit e68e133

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

material/templates/partials/icons.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{% for type, icon in config.theme.icon.tag.items() %}
3333
{% import ".icons/" ~ icon ~ ".svg" as icon %}
3434
{% if type != "default" %}
35-
{% set modifier = "--" ~ type %}
35+
{% set modifier = ".md-tag--" ~ type %}
3636
{% endif %}
3737
{% set _ = style.append(
3838
".md-tag" ~ modifier ~ "{" ~

src/templates/partials/icons.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
{% for type, icon in config.theme.icon.tag.items() %}
5757
{% import ".icons/" ~ icon ~ ".svg" as icon %}
5858
{% if type != "default" %}
59-
{% set modifier = "--" ~ type %}
59+
{% set modifier = ".md-tag--" ~ type %}
6060
{% endif %}
6161
{% set _ = style.append(
6262
".md-tag" ~ modifier ~ "{" ~

0 commit comments

Comments
 (0)