skalnik / aqi-wtf

😷 WTF is the AQI near me right now?!
https://aqi.wtf
MIT License
44 stars 12 forks source link

Center `good` description and CSS clean up #66

Closed skalnik closed 4 years ago

skalnik commented 4 years ago

I started this PR primarily to center the good description since it still seems odd to me that it's right aligned. Another great benefit of this living in HTML is we can style each of them independently super easily!

However, I then noticed we were mixing tabs and spaces in style.css so I moved over to spaces since that seems to be what Prettier uses and then updated the fixer to take over the CSS for us as well. I've played with using Prettier for HTML but it does some weird things I don't like, so I haven't enabled it for that yet. Maybe in the future if I can figure out how to make it stop doing silly things like:

        <a href="https://github.com/skalnik/aqi-wtf/graphs/contributors"
          >friends</a
        >
vercel[bot] commented 4 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/skalnik/aqi-wtf/manaf1uin
✅ Preview: https://aqi-wtf-git-center-good-desc.skalnik.vercel.app

skalnik commented 4 years ago

Looks proper in the preview deploy

Screen Shot 2020-09-15 at 6 57 26 PM