Fix manual for centering text relative to icon (#1669)

Centering text relative to icon should apply `vertical-align` to `text-element` not on `text-icon`.
This commit is contained in:
Herbert Verdida 2022-08-07 15:21:32 +08:00 committed by GitHub
parent eee765a873
commit 74b249cd99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ list of widget names.
If you want to center the text relative to the icon, we can set this:
```css
element-icon {
element-text {
vertical-align: 0.5;
}
```