Fix typography helpers "size" documentation

Incorrect classes on the example text had all the examples the same size. 
Fixed to apply the correct class on the examples.
This commit is contained in:
Isabella Broch 2021-01-22 17:10:41 +01:00 committed by Jeremy Thomas
parent 5c287bbc87
commit 4871a6a564

View File

@ -82,7 +82,7 @@ breadcrumb:
{% assign key = '$size-' | append: forloop.index %} {% assign key = '$size-' | append: forloop.index %}
<td><code>is-size-{{ forloop.index }}</code></td> <td><code>is-size-{{ forloop.index }}</code></td>
<td><code>{{ initial_vars[key].value }}</code></td> <td><code>{{ initial_vars[key].value }}</code></td>
<td><span class="{{ initial_vars[key].value }}">Example</span></td> <td><span class="is-size-{{ forloop.index }}">Example</span></td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>