cleanup
This commit is contained in:
@@ -23,7 +23,7 @@ export default class TodoItem extends Component {
|
||||
|
||||
return (
|
||||
<ListItem>
|
||||
<Checkbox
|
||||
<Input
|
||||
type="checkbox"
|
||||
checked={checked}
|
||||
onChange={this.handleChange}
|
||||
@@ -40,7 +40,7 @@ const ListItem = styled.li`
|
||||
position: relative;
|
||||
`;
|
||||
|
||||
const Checkbox = styled.input`
|
||||
const Input = styled.input`
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0.4em;
|
||||
|
||||
13
frontend/components/Editor/components/TodoList.js
Normal file
13
frontend/components/Editor/components/TodoList.js
Normal file
@@ -0,0 +1,13 @@
|
||||
// @flow
|
||||
import styled from 'styled-components';
|
||||
|
||||
const TodoList = styled.ul`
|
||||
list-style: none;
|
||||
padding: 0 !important;
|
||||
|
||||
ul {
|
||||
padding-left: 1em;
|
||||
}
|
||||
`;
|
||||
|
||||
export default TodoList;
|
||||
Reference in New Issue
Block a user