Skip to content

Commit a2f088a

Browse files
author
김민서
committed
chore: 불필요한 코드 정리
1 parent 365d727 commit a2f088a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

week1/src/components/TodoCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default function TodoCard({ text, checked, onToggle, onDelete }: TodoCard
1313
type="checkbox"
1414
checked={checked}
1515
onChange={onToggle}
16-
className="sr-only todo-input-control"
16+
className="sr-only"
1717
/>
1818
<span className={`todo-checkbox ${checked ? "is-checked" : ""}`} aria-hidden="true">
1919
{checked ? "✓" : ""}

week1/styles.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ body {
105105
color: #9ca3af;
106106
}
107107

108-
.todo-input:focus,
109-
.todo-input.is-focused {
108+
.todo-input:focus {
110109
border-color: var(--blue);
111110
box-shadow: 0 0 0 4px rgba(74, 134, 247, 0.18);
112111
}

0 commit comments

Comments
 (0)