1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

inline icon

This commit is contained in:
codecalm
2021-03-16 00:29:16 +01:00
parent e893c46a95
commit ee12babd4f
2 changed files with 5 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
<li class="list-inline-item"><a href="{{ site.github-url }}" target="_blank" class="link-secondary" rel="noopener">Source code</a></li>
<li class="list-inline-item">
<a href="{{ site.github-sponsors-url }}" target="_blank" class="link-secondary" rel="noopener">
{% include ui/icon.html icon="heart" color="pink" %}
{% include ui/icon.html icon="heart" inline=true filled=true color="pink" %}
Sponsor
</a>
</li>

View File

@@ -16,6 +16,10 @@
{% assign replace-to = replace-to | append: ' icon-filled' %}
{% endif %}
{% if include.inline %}
{% assign replace-to = replace-to | append: ' icon-inline' %}
{% endif %}
{% if include['size'] %}
{% assign replace-to = replace-to | append: ' icon-' | append: include['size'] %}
{% endif %}