You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
progress-bar: When adding labels to non-default height bars, text displays at the top of the bar #22702
This could be addressed by adding display: flex; and align-items: center; to .progress-bar but that feels a bit weird to me.
While considering the impacts to other things in these changes, I also noticed that when using multiple bars, non-default heights behave more weirdly:
Using the flex/center changes makes it a little better, but not by much.
This all seems like a lot of work & headaches, so I'd like to make a small suggestion: change up progress bars so that the height gets set on .progress, and .progress-bar just has height: 100%. With the flexbox changes above, this leads to looking like so:
I think this ends up being a bit more flexible and maintainable, but I didn't want to drop a PR over the wall or come in and say "you should do things this way" because I don't know any context about why things are the way they are - I just know what I see and my uninformed assumptions.
Hopefully this helps, and I'll make a PR to detail all the differences just in case.
Activity