Preserve min-width
This commit is contained in:
parent
c7758eeba2
commit
ef91dd3b34
@ -11,7 +11,7 @@ export const TodoCheckmark: FC<TodoCheckmarkProps> = (props) => (
|
|||||||
onClick={() =>
|
onClick={() =>
|
||||||
props.updateTodo({ ...props.todo, status: !props.todo.status })
|
props.updateTodo({ ...props.todo, status: !props.todo.status })
|
||||||
}
|
}
|
||||||
className={`h-5 w-5 rounded-full border dark:border-gray-500 ${
|
className={`todo-checkmark h-5 w-5 rounded-full border dark:border-gray-500 ${
|
||||||
props.todo.status === StatusState.done
|
props.todo.status === StatusState.done
|
||||||
? "dark:bg-gray-700"
|
? "dark:bg-gray-700"
|
||||||
: "hover:dark:bg-gray-600"
|
: "hover:dark:bg-gray-600"
|
||||||
|
@ -35,3 +35,7 @@ input {
|
|||||||
body {
|
body {
|
||||||
@apply h-screen dark:bg-gray-700
|
@apply h-screen dark:bg-gray-700
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.todo-checkmark {
|
||||||
|
min-width: 1.25rem;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user