added wide layout

This commit is contained in:
Danny Coates 2018-10-25 13:28:06 -07:00
parent 7838ad586d
commit 211404237a
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
9 changed files with 23 additions and 19 deletions

View file

@ -34,8 +34,12 @@ module.exports = function(state, emit) {
archives.push(intro(state));
}
return html`
<section class="relative h-full w-full px-6">
<div class="pt-4 pb-2">${wip}</div>
${list(archives, 'list-reset h-full overflow-y-scroll foo', 'py-2')}
<section class="relative h-full w-full px-6 md:flex md:flex-row">
<div class="pt-4 md:pb-4 md:mr-6 md:w-1/2">${wip}</div>
${list(
archives,
'list-reset h-full md:w-1/2 overflow-y-scroll foo pt-2',
'py-2'
)}
</section>`;
};