Skip to content

Commit

Permalink
fix(Radio): 🐛 Correct orientation of radio and label (#1779)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
mimarz and github-actions[bot] authored Apr 8, 2024
1 parent 35ab02e commit c5c5f9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/css/react-css-modules.css
Original file line number Diff line number Diff line change
Expand Up @@ -1687,7 +1687,7 @@
}

.fds-radio-container-7a9bd584:has(.fds-radio-label-7a9bd584) {
grid-template-columns: var(--fds-checkbox-size) auto;
grid-template-columns: var(--fds-radio-size) auto;
gap: var(--fds-spacing-2);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/form/Radio/Radio.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

.container:has(.label) {
grid-template-columns: var(--fds-checkbox-size) auto;
grid-template-columns: var(--fds-radio-size) auto;
gap: var(--fds-spacing-2);
}

Expand Down

0 comments on commit c5c5f9f

Please sign in to comment.