theodi / open-data-certificate

The mark of quality and trust for open data
https://certificates.theodi.org/
MIT License
46 stars 39 forks source link

Fix wonky badge display #1698

Closed olivierthereaux closed 5 years ago

olivierthereaux commented 5 years ago

A recent merge from staging appears to have deployed an old experiment of swapping HTML-snippet badges to js-based badges. However, the display of text about the certificate on hover was not the most aesthetic:

Screenshot 2019-05-21 17 33 08

This PR fixes this style, making the JS-generated badge very similar to the old one, with a lot of extra info about certificate type and status on hover via title attribute.

Screenshot 2019-05-21 17 36 05