mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-18 21:40:24 +00:00
Don't create empty columns in documentation
This commit is contained in:
parent
d8a5147c38
commit
02c7eae47e
1 changed files with 2 additions and 2 deletions
|
|
@ -46,11 +46,11 @@ All colors available in Bootstrap 4, available as Sass variables and a Sass map
|
|||
|
||||
<div class="row">
|
||||
{% for color in site.data.colors %}
|
||||
{% unless color.name == "white" or color.name == "gray" or color.name == "gray-dark" %}
|
||||
<div class="col-md-4">
|
||||
{% unless color.name == "white" or color.name == "gray" or color.name == "gray-dark" %}
|
||||
<div class="p-3 mb-3 swatch-{{ color.name }}">{{ color.name | capitalize }}</div>
|
||||
{% endunless %}
|
||||
</div>
|
||||
{% endunless %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue