How to vertically center the content of a ListItem with a height=2? #6353
Unanswered
vegaoqiang
asked this question in
Q&A
Replies: 1 comment
-
|
If your container is 2 lines high, then content can only go in the first or second lines. There is no way in a terminal to position text that overlaps a line. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The current content in the ListItem is at the top, and even though I set content-align: left middle, it cannot be centered vertically.
I don't want to set height=3, are there any other solutions?
Beta Was this translation helpful? Give feedback.
All reactions