github-copilot-resources / copilot-metrics-viewer

Tool to visualize the Copilot metrics provided via the Copilot Business Metrics API (current in public beta)
https://ashy-sky-02a7d0403.5.azurestaticapps.net/
MIT License
215 stars 99 forks source link

formatting changes #39

Closed andrekolodochka closed 1 week ago

andrekolodochka commented 2 weeks ago

This pull request primarily focuses on refactoring the CSS styles and HTML structure of various Vue components in the project. The changes are mainly centered around the extraction of common styles to a global CSS file and the adjustment of HTML structure and class assignments to better use these styles.

CSS Centralization:

CSS Removal:

HTML Structure Refactoring:

andrekolodochka commented 2 weeks ago

Don't know how to center a text that spans across two lines :( Any ideas? image

AdrianDsg commented 2 weeks ago

Hi @andrekolodochka, Thanks for your contributions to this project. I'm glad that the involvement of hubbers in this project is growing.

Don't know how to center a text that spans across two lines :( Any ideas?

Probably I'm missing something but I think using the CSS text-align: center; might work for you.

Regards, Adrian

andrekolodochka commented 2 weeks ago

Probably I'm missing something but I think using the CSS text-align: center; might work for you.

🤦 🤦 🤦 fixed.

martedesco commented 1 week ago

Thanks so much for the so due refactoring!

I am adding some spacing in the cards so the two-liners are centralized. Looking like below

image