Closed kateiw closed 6 years ago
Looks nice, what part is conditional in this example? Just the continue button?
Ignore the button for now... that's also another new thing we've invented apparently!
But this particular idea is about bringing the text in the drop down inline with the text above, and then shifting the grey line across to sit aligned to the middle of the radio.
I like the idea of content lining up with the labels - it feels and looks neater.
I'm less sure about moving the border, but can see that if you don't, you get a big bit of white space.
In most cases conditional content is the child of a radio or checkbox - but we also use inset for child content of the details element. Would we also inset these?
Thanks for raising this @kateiw!
I'm trying to close some of the govuk-elements issues, what's the verdict on this one - would we like to move the left grey border when we reveal extra content - using radio buttons or checkboxes?
I'm happy to make that change if there's consensus.
It would be good to see this in other use cases.
heeey, erm i dont know if anyone else tried it out any where else. Can we catch up tomorrow? I wanted to change something on it (how close the grey line is to the radio buttons when the text folds onto a second line on mobile makes it look a bit confusing), but i dont know if this is a totally separate issue.
K
On 14 June 2017 at 15:22, Ed Horsford notifications@github.com wrote:
It would be good to see this in other use cases.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alphagov/govuk_elements/issues/422#issuecomment-308446892, or mute the thread https://github.com/notifications/unsubscribe-auth/ATw9IuiMFlyZtvvigwV9uwsxe4av2uCTks5sD-yegaJpZM4MfrKd .
-- Kate Ivey-Williams | Service Designer for GOV.UK
Following the launch of the GOV.UK Design System, GOV.UK Elements will now only get major bug fixes and security patches, so I'm going to close this.
This has however been implemented in the Design System for conditional reveals in both the checkboxes and radios components:
Thanks, @kateiw! 🎉
Hey, I've had an idea based on playing around with conditional content on radio buttons.
With conditional content drop downs, the text doesn't align with the content in the label above, which looks a bit weird and makes it harder to read.
Before:
What we've been playing around with: