git ssb

3+

arj / patchbook



Commit bd040e587da9831443f9a4542c1a318f354a7487

Fix create styling

Anders Rune Jensen committed on 10/31/2017, 8:49:19 PM
Parent: 4eca0ed30e252fb6ab238b16b95d660c239aacca

Files changed

book/html/create.jschanged
book/html/create.mcsschanged
book/html/create.jsView
@@ -24,16 +24,16 @@
2424
2525 return h('Create -book',
2626 { classList: when(showCreate, '-expanded', '-contracted') }, [
2727 h('section.content', [
28- h('div.title', [h('label', 'Title'),
28 + h('div.title', [h('label', 'Title:'),
2929 h('input', {'ev-input': e => book.title.set(e.target.value),
3030 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:'),
3332 h('input', {'ev-input': e => book.authors.set(e.target.value),
3433 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:'),
3636 h('textarea', {'ev-input': e => book.description.set(e.target.value),
3737 value: '' }) ])
3838 ]),
3939 h('section.actions', [
book/html/create.mcssView
@@ -4,10 +4,11 @@
44 border: 1px solid gainsboro
55 }
66
77 section.content textarea {
8- margin-left: 5px
98 border: 1px solid gainsboro
9 + width: 600px
10 + height: 250px
1011 }
1112
1213 -contracted {
1314 section.actions {

Built with git-ssb-web