Skip to content

Conversation

mootari
Copy link
Member

@mootari mootari commented Oct 13, 2022

Fixes non-wrapping widget labels bleeding into other elements.

Before / after:

Before / after:

Test snippet:

(label => Inputs.form([
  Inputs.text({label}),
  Inputs.toggle({label}),
  Inputs.select([], {label}),
  Inputs.range([], {label}),
  Inputs.number([], {label}),
  Inputs.button('OK', {label}),
  Inputs.radio([label, label], {label}),
  Inputs.checkbox([label, label], {label}),
]))(
'reallyLongLabelThatDoesntWrapReallyLongLabelThatDoesntWrapreallyLongLabelThatDoesntWrapReallyLongLabel ThatDoesntWrap'
)

@mootari mootari changed the title Fix labels overflowing Prevent labels from overflowing Oct 13, 2022
@mootari mootari requested a review from mbostock October 13, 2022 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant