Skip to content

Commit

Permalink
checkbox size
Browse files Browse the repository at this point in the history
  • Loading branch information
JClackett committed Jul 14, 2024
1 parent 21f81b6 commit ffd6808
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/web/app/components/TaskForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ export const TaskForm = React.memo(function _TaskForm({ task, onClose }: FormPro
/>

<input type="hidden" name="isImportant" value={isImportant ? "true" : "false"} />
<Checkbox defaultChecked={isComplete} onChange={() => setIsComplete(!isComplete)} size="md" />
<Checkbox defaultChecked={isComplete} onChange={() => setIsComplete(!isComplete)} />
<input type="hidden" name="isComplete" value={isComplete ? "true" : "false"} />
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions apps/web/app/components/ui/Inputs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ export function Select({ variant, size, ...props }: SelectProps) {
export const checkboxSizeStyles = cva("", {
variants: {
size: {
sm: "sq-4",
md: "sq-5",
lg: "sq-7",
sm: "sq-5",
md: "sq-7",
lg: "sq-9",
},
},
defaultVariants: {
Expand Down

0 comments on commit ffd6808

Please sign in to comment.