summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerbert Verdida <38489033+bertdida@users.noreply.github.com>2022-08-07 15:21:32 +0800
committerGitHub <noreply@github.com>2022-08-07 09:21:32 +0200
commit74b249cd996e70abfa05dd09f2f88bee5f94152a (patch)
tree41ec260d975ee3b7f5e41a727be4e92c4c2d8482
parenteee765a873cdc860649c1b851cbf399883b8bb04 (diff)
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`.
-rw-r--r--doc/rofi-theme.5.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/rofi-theme.5.markdown b/doc/rofi-theme.5.markdown
index 83b70239..a61a125f 100644
--- a/doc/rofi-theme.5.markdown
+++ b/doc/rofi-theme.5.markdown
@@ -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;
}
```