Skip to content

Commit

Permalink
Fix(web-twig): Radio button with multiple line label #DS-1664
Browse files Browse the repository at this point in the history
  • Loading branch information
curdaj committed Jan 24, 2025
1 parent 6d074dc commit be0c466
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
{% include '@components/Radio/stories/RadioDefault.twig' %}
</DocsSection>

<DocsSection title="With Long Label Text">
{% include '@components/Radio/stories/RadioLongLabelText.twig' %}
</DocsSection>

<DocsSection title="Hidden Label">
{% include '@components/Radio/stories/RadioHiddenLabel.twig' %}
</DocsSection>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Radio
id="radio-long-label"
label="This is an example of a very long label text for a radio button. It is specifically designed to test how well the layout handles text wrapping when the content becomes significantly longer. The purpose of this text is to confirm that the radio button's composition remains intact, visually aligned, and free from any unexpected breakage or misalignment. Ensuring proper spacing and alignment for multiline labels is essential for creating a consistent and user-friendly interface across different screen sizes and resolutions."
name="radioLongLabel"
/>

0 comments on commit be0c466

Please sign in to comment.