gitpod icon indicating copy to clipboard operation
gitpod copied to clipboard

Credits column in usage detail view is misaligned and truncation is annoying

Open jldec opened this issue 3 years ago • 1 comments

Content in the Credits column should be aligned right, and I think overflow:hidden would work better (instead of ellipses) when the "min" units string does not fit.

Screenshot 2022-09-21 at 10 12 27 Screenshot 2022-09-21 at 10 12 05

jldec avatar Sep 21 '22 08:09 jldec

Originally, the ellipsis existed because we were storing the credits with high precision. Now, we only store them with a 2 digit precision. To fix the ellipsis, we could simply stop truncating and show the 2 decimal points that we now guarantee to have on the results.

easyCZ avatar Sep 21 '22 12:09 easyCZ

I think this is fixed. Please reopen if I'm missing something.

svenefftinge avatar Sep 23 '22 05:09 svenefftinge