Replies: 2 comments
-
This should be plain CSS (done with vertical-align). Also note the line-height it can help. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I had to halve the bottom margin since pico sets it, but this is what got it centered. td>progress {
vertical-align: middle;
margin-bottom: calc(var(--pico-spacing) * .25);
} |
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
-
I have a progress bar in a table, and I'd like to vertically center it, but can't seem to figure it out. I tried to use flex display and align-items center but it doesn't seem to center all the way. It ends up looking like this
Beta Was this translation helpful? Give feedback.
All reactions