moj-analytical-services / shinyGovstyle

Apply GOV.UK styled components and formats in shiny
https://moj-analytical-services.github.io/shinyGovstyle/
40 stars 7 forks source link

Updated alignment of radio button item labels #90

Closed rmbielby closed 4 months ago

rmbielby commented 4 months ago

This should be more in line with what was asked for. I've set the alignment properly now so that radio button item labels are centre aligned vertically with their parent radio button.

The screenshot below shows what it looks like now after some small css tweaks:

image

Note that I've also added an extra check into the run_example() code as I don't think the stacked radio items were aligning properly previously either and I wanted to see both in action.