Skip to content
Snippets Groups Projects
Verified Commit c76d30ef authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Include support for icons in Materialize chips template

parent 244d300d
No related branches found
No related tags found
1 merge request!462Include support for icons in Materialize chips template
Pipeline #5496 passed
......@@ -344,6 +344,11 @@ span.badge .material-icons {
font-size: 0.9rem;
}
.chip .material-icons {
line-height: 30px;
margin-right: 10px;
margin-left: -2px;
}
/*+++++++++*/
/* Buttons */
......
......@@ -2,6 +2,9 @@
{% if img %}
<img class="{{ img_classes }}" src="{{ img }}" alt="{{ alt }}">
{% endif %}
{% if icon %}
<i class="material-icons left">{{ icon }}</i>
{% endif %}
{{ content }}
{% if close %}
<i class="close material-icons"></i>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment