1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-29 14:34:37 +04:00

buttons, float buttons

This commit is contained in:
codecalm
2020-01-08 21:44:17 +01:00
parent 272a16c724
commit d1711c8194
5 changed files with 25 additions and 2 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
{% for type in variants %}
{% if show-link or type[0] != 'link' %}
<div class="col-6 col-sm-4 col-md-2 col-xl{% if include.auto-columns %}-auto{% endif %} mb-3">
{% if include.icon == true %}
{% if include.icon or include.icon-only %}
{% assign icon = type[1].icon %}
{% endif %}
@@ -25,7 +25,7 @@
{% assign text = type[1].title %}
{% assign color = type[0] %}
{% include ui/button.html block=true color=false class=class icon=icon icon-only=icon-only text=text %}
{% include ui/button.html block=true color=false class=class icon=icon icon-only=include.icon-only text=text %}
</div>
{% endif %}
{% endfor %}