silverstripe-terraformers / silverstripe-embargo-expiry

BSD 3-Clause "New" or "Revised" License
7 stars 7 forks source link

Bugfix/embargo badge styles update #113

Open joechamberlain1 opened 11 months ago

joechamberlain1 commented 11 months ago

This PR offers a temporary solution to the issue Add CMS badges for Embargo & Expiry status #26

If an embargo is applied to a page that has a long page name then the embargo badge sits on top but currently does not have a background colour like the other badges

image

This branch adds a background colour to prevent the badge text from overlapping the page name.

Screenshot 2023-10-09 at 11 17 14

NOTE This needs to be merged into 1 not master