Skip to content

Commit

Permalink
YKI(Frontend): Review feedback: convert inline style to CSS class
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoivisto committed Mar 1, 2024
1 parent ec35c06 commit e7378e9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const CommonRegistrationDetails = () => {

return (
<>
<fieldset style={{ border: 0, padding: 0 }}>
<fieldset className="registration-details__radio-group">
<legend>
<Text>
<b>{t('certificateLanguage')}</b>
Expand Down Expand Up @@ -118,7 +118,7 @@ export const CommonRegistrationDetails = () => {
</FormControl>
</fieldset>
{hideInstructionLanguageSelection ? null : (
<fieldset style={{ border: 0, padding: 0 }}>
<fieldset className="registration-details__radio-group">
<legend>
<Text>
<b>{t('instructionLanguage')}</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export const EmailRegistrationDetails = () => {
/>
</div>
</div>
<fieldset style={{ border: 0, padding: 0 }}>
<fieldset className="registration-details__radio-group">
<legend>
<Text>
<b>{t('finnishSSN')}</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
display: grid;
grid-template-columns: 1fr 1fr;
}

&__radio-group {
border: 0;
padding: 0;
}
}

.radio-group-label {
Expand Down

0 comments on commit e7378e9

Please sign in to comment.