Fix rendering problems with the android ui.

This commit is contained in:
Donovan Preston 2018-11-15 10:06:35 -05:00
parent c72e26c192
commit 43c596fb99
2 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ module.exports = function(state, emit) {
}
return html`
<main class="main relative">
<main class="relative" style="display: flex">
${state.modal && modal(state, emit)} ${content}
<div class="fixed pin-r pin-b">
${button}

View File

@ -189,13 +189,13 @@ module.exports = function(state, emit, archive) {
module.exports.wip = function(state, emit) {
return html`
<article class="h-full flex flex-col bg-white z-20" id="wip">
<article class="flex flex-col bg-white z-20" id="wip">
${
list(
Array.from(state.archive.files)
.reverse()
.map(f => fileInfo(f, remove(f))),
'list-reset h-full overflow-y-scroll px-4 bg-blue-lightest md:max-h-half-screen',
'list-reset overflow-y-scroll px-4 bg-blue-lightest md:max-h-half-screen',
'bg-white px-2 mt-3 border border-grey-light rounded'
)
}
@ -209,7 +209,7 @@ module.exports.wip = function(state, emit) {
/>
<label
for="file-upload"
class="flex flex-row items-center w-full h-full p-2 cursor-pointer"
class="flex flex-row items-center w-full p-2 cursor-pointer"
title="${state.translate('addFilesButton')}"
>
<img src="${assets.get('addfiles.svg')}" class="w-6 h-6 mr-2" /> ${