ash-bergs / earthquake-tracker

View and Compare Earthquakes in Mapbox
https://earthquake-tracker-dun.vercel.app
MIT License
2 stars 0 forks source link

chore: simplify parent containers in the stats components #20

Closed ash-bergs closed 3 months ago

ash-bergs commented 3 months ago

The 'stats' components for weekly/daily stats had a lot going on with styles defined in the className that weren't really helping us.

Work removes a lot of the flex settings, and simplifies grid setting in the components.

image

Nothing looks radically different, but it sizes with the screen better, and seems to shift around less.

vercel[bot] commented 3 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
earthquake-tracker ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 6, 2024 8:59pm