You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/src/content/docs/utilities/text.mdx
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,12 @@ Change the line height with `.lh-*` utilities.
92
92
<p class="lh-base">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>
93
93
<p class="lh-lg">This is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>`} />
94
94
95
+
## Balanced Text
96
+
97
+
Use the `.text-balanced` class to balance text.
98
+
99
+
<Examplecode={`<p class="text-balanced">his is a long paragraph written to show how the line-height of an element is affected by our utilities. Classes are applied to the element itself or sometimes the parent element. These classes can be customized as needed with our utility API.</p>`} />
100
+
95
101
## Monospace
96
102
97
103
Change a selection to our monospace font stack with `.font-monospace`.
0 commit comments