Step numbers in todo app headers

This commit is contained in:
Elizabeth Craig
2019-03-05 02:58:04 -08:00
parent 46094abe9d
commit bdb17109a1
22 changed files with 40 additions and 16 deletions

View File

@@ -21,7 +21,7 @@ export class TodoHeader extends React.Component<TodoHeaderProps, TodoHeaderState
const { filter, setFilter } = this.props;
return (
<header>
<h1>todos - step1-07 final</h1>
<h1>todos <small>(1.7 final)</small></h1>
<div className="addTodo">
<input value={this.state.labelInput} onChange={this._onChange} className="textfield" placeholder="add todo" />
<button onClick={this._onAdd} className="submit">

View File

@@ -8,6 +8,10 @@ h1 {
text-align: center;
}
small {
font-size: 0.5em;
}
.addTodo {
display: flex;
}