Skip to content

Commit

Permalink
Fix wording in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
bartaz committed Jun 29, 2023
1 parent 3b76e19 commit fe6f17f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions templates/docs/base/typography.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Previously this style was implemented as `.p-text--x-small-capitalised` class na

## Text figures

Text figures are numerals designed to echo the varying height and alignment to the baseline of lowercase text.
Text figures are numerals designed to echo the varying height and alignment to the baseline of lower-case text.

To apply the text figures styling, wrap the number in a span with the class `u-text-figures`.

Expand All @@ -244,7 +244,7 @@ To apply the text figures styling, wrap the number in a span with the class `u-t
<div class="p-notification--positive">
<div class="p-notification__content">
<h5 class="p-notification__title">When to use:</h5>
<p class="p-notification__message">Text figures work best when placed within small caps where we've set them as the default and are generally recommended within blocks of lowercase text too, although we haven't set that as a default.</p>
<p class="p-notification__message">Text figures work best when placed within small caps where we've set them as the default and are generally recommended within blocks of lower-case text too, although we haven't set that as a default.</p>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/docs/examples/utilities/text-figures.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{% block title %}Text figures{% endblock %}

{% block content %}
<p>Default numbers: 1234567890</p>
<p>Lining figures (default): 1234567890</p>
<p>Text figures: <span class="u-text-figures">1234567890</span></p>
{% endblock %}

0 comments on commit fe6f17f

Please sign in to comment.