mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed default tag icon overriding other icons
This commit is contained in:
parent
d87c20fafc
commit
e68e1330ab
@ -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 ~ "{" ~
|
||||
|
@ -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 ~ "{" ~
|
||||
|
Loading…
Reference in New Issue
Block a user