From 8d528c2d4a73fadcc047da2448e02b324770e2f7 Mon Sep 17 00:00:00 2001 From: Victoria League Date: Thu, 29 Feb 2024 15:21:39 -0500 Subject: [PATCH] [CL-170] Fix size of radio group legend (#8154) --- .../src/radio-button/radio-button.stories.ts | 51 ++++++++++--------- .../radio-button/radio-group.component.html | 2 +- 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/libs/components/src/radio-button/radio-button.stories.ts b/libs/components/src/radio-button/radio-button.stories.ts index f9b0079936..534bc4bfa1 100644 --- a/libs/components/src/radio-button/radio-button.stories.ts +++ b/libs/components/src/radio-button/radio-button.stories.ts @@ -45,19 +45,19 @@ export const Inline: Story = { radio: new FormControl(0), }), }, - template: ` + template: /* HTML */ `
Group of radio buttons - + First - + Second - + Third @@ -74,26 +74,26 @@ export const InlineHint: Story = { radio: new FormControl(0), }), }, - template: ` - - - Group of radio buttons + template: /* HTML */ ` + + + Group of radio buttons - - First - + + First + - - Second - + + Second + - - Third - + + Third + - This is a hint for the radio group - - + This is a hint for the radio group + + `, }), }; @@ -105,21 +105,22 @@ export const Block: Story = { radio: new FormControl(0), }), }, - template: ` + + template: /* HTML */ `
Group of radio buttons - + First This is a hint for the first option - + Second This is a hint for the second option - + Third This is a hint for the third option @@ -137,7 +138,7 @@ export const BlockHint: Story = { radio: new FormControl(0), }), }, - template: ` + template: /* HTML */ ` Group of radio buttons diff --git a/libs/components/src/radio-button/radio-group.component.html b/libs/components/src/radio-button/radio-group.component.html index 128a723d46..9fc9dd5833 100644 --- a/libs/components/src/radio-button/radio-group.component.html +++ b/libs/components/src/radio-button/radio-group.component.html @@ -1,6 +1,6 @@
- + ({{ "required" | i18n }})