Skip to content

Commit

Permalink
feat: checkbox vertical adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
malangcat committed Dec 23, 2024
1 parent e2044f3 commit 25cab38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/recipe-generator/preset/src/checkbox.recipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const checkbox = defineRecipe({
},
label: {
fontSize: vars.sizeLarge.enabled.label.fontSize,
marginBlockStart: "7.5px", // 수직 위치 보정
marginBlockStart: "7px", // 수직 위치 보정
},
},
medium: {
Expand All @@ -167,7 +167,7 @@ const checkbox = defineRecipe({
},
label: {
fontSize: vars.sizeMedium.enabled.label.fontSize,
marginBlockStart: "6.5px", // 수직 위치 보정
marginBlockStart: "6px", // 수직 위치 보정
},
},
small: {
Expand Down
4 changes: 2 additions & 2 deletions packages/stylesheet/checkbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
}
.checkbox__label--size_large {
font-size: var(--seed-v3-font-size-s5);
margin-block-start: 7.5px;
margin-block-start: 7px;
}
.checkbox__root--size_medium {
min-height: var(--seed-v3-unit-s8);
Expand All @@ -127,7 +127,7 @@
}
.checkbox__label--size_medium {
font-size: var(--seed-v3-font-size-s4);
margin-block-start: 6.5px;
margin-block-start: 6px;
}
.checkbox__root--size_small {
min-height: var(--seed-v3-unit-s8);
Expand Down

0 comments on commit 25cab38

Please sign in to comment.