harlan-zw / unlighthouse

Scan your entire site with Google Lighthouse in 2 minutes (on average). Open source, fully configurable with minimal setup.
https://unlighthouse.dev
MIT License
3.81k stars 110 forks source link

Fix MetricGuage styling bug #174

Closed eylonshm closed 7 months ago

eylonshm commented 10 months ago

Description

The circle arc wasn't completely aligned to the center, it was a bit on top of the Y axis, so I fixed it. Additionally, there was a problem with the calculation (for example, 100% wasn't a perfect circle), so I fixed its function as well. Looks like everything is working as expected now.

image

Linked Issues

harlan-zw commented 10 months ago

Hey @eylonshm, sorry for the delay.

I've never had the metric gauges look like this, would you be able to let me know what browser you're using?

image

I'm mindful about introducing regressions if we change the styling

eylonshm commented 10 months ago

@harlan-zw Using Safari, maybe it's about that?