1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-28 05:54:53 +04:00

typography, alerts, card actions

This commit is contained in:
codecalm
2020-01-05 18:05:33 +01:00
parent d03f3ff9e0
commit 2e119c8b93
6 changed files with 71 additions and 6 deletions
+1 -2
View File
@@ -55,13 +55,12 @@ Add the `alert-link` class to any links inside the alert box to create "matching
{% endexample %}
### Alert with avatar
{% assign person = site.data.people[1] %}
{% example %}
{% for variant in site.variants %}
{% capture variant-text %}
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.
{% endcapture %}
{% include ui/alert.html type=variant.name text=variant-text avatar=true person=person %}
{% include ui/alert.html type=variant.name text=variant-text person-id=forloop.index %}
{% endfor %}
{% endexample %}