Skip to content

Commit

Permalink
fix(kradio, kcheckbox): fix label alignment (#2195)
Browse files Browse the repository at this point in the history
  • Loading branch information
portikM authored May 28, 2024
1 parent fc6be90 commit cad802e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/KCheckbox/KCheckbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export default {
position: relative;
&.has-label {
margin-top: 4px; // align with label
margin-top: 3px; // align with label
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/KRadio/KRadio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ $kRadioDotSize: 6px;
// Since the mixin is used in both KRadio and KCheckbox it doesn't have rules for some component-specific properties so we need to set them here
border-radius: var(--kui-border-radius-circle, $kui-border-radius-circle);
margin-top: 4px; // align with label
margin-top: 3px; // align with label
position: relative;
&:hover {
Expand Down

0 comments on commit cad802e

Please sign in to comment.