Skip to content

Commit be6a1be

Browse files
authored
Fixing CRA example TODO submit button width (#5668)
1 parent 20eb617 commit be6a1be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/rsp-cra-18/src/TodoList.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ function TodoList(props: {list: ToDo[];
2525
value={props.value}
2626
onChange={props.setValue}
2727
isRequired/>
28-
<Button variant="cta" type="submit">Submit</Button>
28+
<Button variant="cta" type="submit" minWidth="fit-content">Submit</Button>
2929
</Flex>
30-
<h2>To-Do</h2>
30+
<h2>To-Do</h2>
3131
<ToDoItems list={props.list} handleList={props.setList} updateCompleted={props.updateCompleted}/>
3232
</Flex>
3333
</Form>

0 commit comments

Comments
 (0)