Preserve min-width
This commit is contained in:
parent
c7758eeba2
commit
ef91dd3b34
@ -11,7 +11,7 @@ export const TodoCheckmark: FC<TodoCheckmarkProps> = (props) => (
|
||||
onClick={() =>
|
||||
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
|
||||
? "dark:bg-gray-700"
|
||||
: "hover:dark:bg-gray-600"
|
||||
|
@ -34,4 +34,8 @@ input {
|
||||
|
||||
body {
|
||||
@apply h-screen dark:bg-gray-700
|
||||
}
|
||||
|
||||
.todo-checkmark {
|
||||
min-width: 1.25rem;
|
||||
}
|
Loading…
Reference in New Issue
Block a user