mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
Vertically center elements in TodoFooters
This commit is contained in:
@@ -17,7 +17,7 @@ const TodoFooter = (props: TodoFooterProps) => {
|
||||
const itemCount = Object.keys(todos).filter(id => !todos[id].completed).length;
|
||||
|
||||
return (
|
||||
<Stack horizontal horizontalAlign="space-between">
|
||||
<Stack horizontal horizontalAlign="space-between" verticalAlign="center">
|
||||
<Text>
|
||||
{itemCount} item{itemCount === 1 ? '' : 's'} left
|
||||
</Text>
|
||||
|
||||
Reference in New Issue
Block a user