mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Don't create empty columns in documentation
This commit is contained in:
parent
d8a5147c38
commit
02c7eae47e
@ -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 New Issue
Block a user