petals-infra / health.petals.dev

🏥 Health monitor for a Petals swarm
https://health.petals.dev
32 stars 26 forks source link

Fix error block width #20

Closed ayan4m1 closed 3 months ago

ayan4m1 commented 4 months ago

Currently, the blocks in "error" state are slightly wider than everything else, which causes the grid to display in an unpleasant way. I fixed this by changing the base td padding to be slightly smaller and then resetting padding to 0 on .bm.

Before:

github-before

After:

github-after

It's a small change, and it's hard to see with the way I have the data mocked up here (there wasn't an easier way of forcing the state I needed to show how bad it can look) - let me know if that helps.

ayan4m1 commented 3 months ago

@mryab Ready for your review