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:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user