Skip to content

Commit

Permalink
docs: fix centered text helper typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjuanes committed Aug 14, 2022
1 parent 479c3cf commit 4189d6c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/helpers/typography.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Use one of the following classes to set the horizontal align of your text inside
| Class | Property |
|-------|----------|
| `has-text-justified` | `text-align: justify;` |
| `has-text-centered` | `text-align: center;` |
| `has-text-center` | `text-align: center;` |
| `has-text-left` | `text-align: left;` |
| `has-text-right` | `text-align: right;` |

Expand All @@ -128,10 +128,10 @@ Use the `has-text-left` helper to align inline contents to the left:
<div class="has-text-left">Left aligned text</div>
```

Use the `has-text-centered` helper to center inline contents:
Use the `has-text-center` helper to center inline contents:

```html live=true
<div class="has-text-centered">Centered text</div>
<div class="has-text-center">Centered text</div>
```

Use the `has-text-right` helper to align inline contents to the right:
Expand Down

0 comments on commit 4189d6c

Please sign in to comment.