Skip to content

Commit

Permalink
fix: checkbox & radio label alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-patrick-3 committed Dec 19, 2024
1 parent 110170a commit 91ba6c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/reusable/checkbox/checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

label {
display: inline-flex;
align-items: center;
gap: 10px;
width: 100%;
position: relative;
Expand All @@ -32,6 +31,7 @@ input {
justify-content: center;
flex-shrink: 0;
margin: 0;
margin-top: 4px;
width: 16px;
height: 16px;
border: 2px solid var(--kd-color-border-ui);
Expand Down
2 changes: 1 addition & 1 deletion src/components/reusable/radioButton/radioButton.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

label {
display: inline-flex;
align-items: center;
gap: 10px;

&[disabled] {
Expand All @@ -27,6 +26,7 @@ input {
align-items: center;
justify-content: center;
margin: 0;
margin-top: 2px;
width: 18px;
height: 18px;
border: 2px solid var(--kd-color-border-ui);
Expand Down

0 comments on commit 91ba6c5

Please sign in to comment.