Commit bd040e587da9831443f9a4542c1a318f354a7487
Fix create styling
Anders Rune Jensen committed on 10/31/2017, 8:49:19 PMParent: 4eca0ed30e252fb6ab238b16b95d660c239aacca
Files changed
book/html/create.js | changed |
book/html/create.mcss | changed |
book/html/create.js | ||
---|---|---|
@@ -24,16 +24,16 @@ | ||
24 | 24 … | |
25 | 25 … | return h('Create -book', |
26 | 26 … | { classList: when(showCreate, '-expanded', '-contracted') }, [ |
27 | 27 … | h('section.content', [ |
28 | - h('div.title', [h('label', 'Title'), | |
28 … | + h('div.title', [h('label', 'Title:'), | |
29 | 29 … | h('input', {'ev-input': e => book.title.set(e.target.value), |
30 | 30 … | value: '' })]), |
31 | - images({images: book.images, isEditing: true, onUpdate: book.images.add }), | |
32 | - h('div.authors', [h('label', 'Authors'), | |
31 … | + h('div.authors', [h('label', 'Authors:'), | |
33 | 32 … | h('input', {'ev-input': e => book.authors.set(e.target.value), |
34 | 33 … | value: '' })]), |
35 | - h('div.description', [h('label', 'Description'), | |
34 … | + images({images: book.images, isEditing: true, onUpdate: book.images.add }), | |
35 … | + h('div.description', [h('div', 'Description:'), | |
36 | 36 … | h('textarea', {'ev-input': e => book.description.set(e.target.value), |
37 | 37 … | value: '' }) ]) |
38 | 38 … | ]), |
39 | 39 … | h('section.actions', [ |
Built with git-ssb-web