Skip to content

Commit

Permalink
result 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmodrr committed Dec 23, 2024
1 parent 0e66512 commit aabd6f9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/TodoItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export const TodoItem: React.FC<Props> = ({
<input
type="text"
data-cy="TodoTitleField"
className="todoapp__update-todo"
value={updateTitle}
autoFocus
onChange={e => setUpdateTitle(e.target.value)}
Expand Down
6 changes: 6 additions & 0 deletions src/styles/todoapp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,10 @@
visibility: hidden;
}
}

&__update-todo{
width: 100%;
font-size: inherit;
padding: 12px 15px;
}
}

0 comments on commit aabd6f9

Please sign in to comment.