mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
center align checkbox label by default
This commit is contained in:
@@ -7,6 +7,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.body {
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
.input:disabled {
|
.input:disabled {
|
||||||
border: 1px solid var(--theme-colors-border);
|
border: 1px solid var(--theme-colors-border);
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ export const Checkbox = forwardRef<HTMLInputElement, CheckboxProps>(
|
|||||||
return (
|
return (
|
||||||
<MantineCheckbox
|
<MantineCheckbox
|
||||||
classNames={{
|
classNames={{
|
||||||
|
body: styles.body,
|
||||||
input: styles.input,
|
input: styles.input,
|
||||||
label: styles.label,
|
label: styles.label,
|
||||||
...classNames,
|
...classNames,
|
||||||
|
|||||||
Reference in New Issue
Block a user