Skip to content
Snippets Groups Projects
Commit 65d53405 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch 'feature/chips-with-icons' into 'master'

Include support for icons in Materialize chips template

See merge request !462
parents 66942d31 c76d30ef
No related branches found
No related tags found
1 merge request!462Include support for icons in Materialize chips template
Pipeline #5530 passed
......@@ -347,6 +347,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