Skip to content

Commit 6533c3d

Browse files
committed
fix: adjust checkbox check icon size to fit box
1 parent ab49531 commit 6533c3d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/app/components/base/check-box/CheckBox.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div :class="$style.wrapper">
66
<input :id="inputId" v-model="modelValue" :class="$style.input" type="checkbox" />
77
<div :class="$style.box">
8-
<RiCheckLine :class="$style.icon" />
8+
<RiCheckLine size="16" :class="$style.icon" />
99
</div>
1010
</div>
1111
</div>
@@ -53,6 +53,9 @@ const inputId = uuid();
5353
}
5454
5555
.box {
56+
display: flex;
57+
align-items: center;
58+
justify-content: center;
5659
background: var(--input-field-background);
5760
border-radius: var(--border-radius-m);
5861
@@ -64,7 +67,6 @@ const inputId = uuid();
6467
6568
.input {
6669
position: absolute;
67-
height: 30px;
6870
padding: 0 8px;
6971
display: flex;
7072
align-items: center;

0 commit comments

Comments
 (0)