Fix button docs

This commit is contained in:
Jeremy Thomas
2018-04-12 00:20:58 +01:00
parent 1074ea834b
commit 379bcb481e
12 changed files with 114 additions and 44 deletions

View File

@@ -1,4 +1,9 @@
<a class="bd-link" href="{{ include.url }}">
{% if include.surtitle %}
<p class="bd-link-surtitle">
{{ include.surtitle }}
</p>
{% endif %}
<h2 class="bd-link-name">
<figure class="bd-link-figure">
{% if include.icon %}

View File

@@ -19,7 +19,13 @@
{% if include.fullwidth %}bd-is-fullwidth{% endif %}
">
<div class="bd-snippet-preview {% if include.paddingless %}is-paddingless{% endif %}">
{{ include.content }}
{% if include.wrapper %}
<div class="{{ include.wrapper }}">
{{ include.content }}
</div>
{% else %}
{{ include.content }}
{% endif %}
</div>
<div class="bd-snippet-code {% unless include.clipped %}highlight-full{% endunless %} {% if include.more %}bd-is-more bd-is-more-clipped{% endif %}">
{% highlight html %}{{ include.content }}{% endhighlight %}