Text wrapping on inline small radios #4873
Labels
awaiting triage
Needs triaging by team
🐛 bug
Something isn't working the way it should (including incorrect wording in documentation)
Description of the issue
When using inline small radios the text can wrap:
I think this is due to
max-width: calc(100% - 74px)
on.govuk-radios__label
, it needs to be adjusted down a bit for small radios.Steps to reproduce the issue
govuk-radios--inline
govuk-radios--small
classes to a radio group:Actual vs expected behaviour
The text wraps when there are multiple words.
It shouldn't wrap unless the container constrains the space.
Environment (where applicable)
The text was updated successfully, but these errors were encountered: