fix for 添加 按钮

This commit is contained in:
Kagura 2024-11-21 18:05:43 +08:00
parent 48d3dd3645
commit da309a44d4

View file

@ -97,7 +97,7 @@ function AddTodoItem({ items, setItems }: {
/>
<button
onClick={handleAddItem}
className="px-4 py-2 text-sm font-medium text-white bg-blue-500 rounded-md shadow-md hover:bg-blue-600"
className="px-4 py-2 text-sm whitespace-nowrap font-medium text-white bg-blue-500 rounded-md shadow-md hover:bg-blue-600"
>
</button>