Commit 00580880 authored by Sindre Sorhus's avatar Sindre Sorhus

Template: Fix double-clicking on the checkbox triggering editing mode. Fixes #227

parent 6da7ad53
...@@ -23,7 +23,7 @@ button { ...@@ -23,7 +23,7 @@ button {
body { body {
font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif; font: 14px 'Helvetica Neue', Helvetica, Arial, sans-serif;
line-height: 1.4em; line-height: 1.4em;
background: #eaeaea url('bg.png'); background: #eaeaea url('bg.png');
color: #4d4d4d; color: #4d4d4d;
width: 550px; width: 550px;
margin: 0 auto; margin: 0 auto;
...@@ -250,8 +250,9 @@ label[for='toggle-all'] { ...@@ -250,8 +250,9 @@ label[for='toggle-all'] {
#todo-list li label { #todo-list li label {
word-break: break-word; word-break: break-word;
margin: 15px 15px 15px 60px; padding: 15px;
display: inline-block; margin-left: 45px;
display: block;
line-height: 1.2; line-height: 1.2;
-webkit-transition: color 0.4s; -webkit-transition: color 0.4s;
-moz-transition: color 0.4s; -moz-transition: color 0.4s;
...@@ -402,4 +403,4 @@ label[for='toggle-all'] { ...@@ -402,4 +403,4 @@ label[for='toggle-all'] {
#todo-list li .toggle { #todo-list li .toggle {
background: none; background: none;
} }
} }
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment