1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-02 08:25:32 +04:00

flags docs correction

This commit is contained in:
Dawid Harat
2019-12-08 19:57:35 +01:00
parent 3407502824
commit b4fe4d1aac
2 changed files with 3 additions and 8 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ You can also use icons in avatars.
### Avatar initials color
Customize the color of the avatars' background. You can click You can click [here]({% docs_url colors %}) to see the list of available colors.
Customize the color of the avatars' background. You can click [here]({% docs_url colors %}) to see the list of available colors.
{% example html wrapper=avatar-list %}
{% include ui/avatar.html placeholder="AB" color="green" %}
+2 -7
View File
@@ -15,12 +15,7 @@ done: true
### Flag sizes
Change the flag size.
<ul>
<li><code>xl</code> - large</li>
<li><code>mr</code> - big</li>
<li><code>md</code> - medium</li>
</ul>
Using Bootstraps typical naming structure, you can create a standard flag, or scale it up to different sizes based on whats needed.
{% example html %}
{% include ui/flag.html flag="pl" class="flag-size-xl mr-1" %}
@@ -31,7 +26,7 @@ Change the flag size.
### Types
To set the flag of the country you want add a class flag-(country name). For example to create a flag of Andorra your class should look like this: flag-ad.
To set the flag of the country you want add a class `flag-(country name)`. For example to create a flag of Andorra your class should look like this: `.flag-ad`.
<table>
{% for flag in site.data.flags %}