Skip to content

Commit

Permalink
fix: fix radio button position to account for longer labels
Browse files Browse the repository at this point in the history
  • Loading branch information
taraculpin committed Oct 25, 2023
1 parent 1cca73a commit dba3da1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
display: flex;
position: relative;
font-weight: var(--font-weight-regular);
padding-left: calc(var(--radio-outer-lg-width) + var(--space-xxs));

.lg-radio-button__input:disabled + & {
color: var(--disabled-color);
Expand All @@ -44,6 +45,7 @@
border-radius: 50%;
border: var(--border-width) solid var(--radio-border-color);
margin: auto var(--space-sm) auto 0;
position: absolute;

.lg-radio-button__input:focus-visible + & {
border-color: var(--border-focus-color);
Expand Down

0 comments on commit dba3da1

Please sign in to comment.