Fix rendering problems with the android ui.
This commit is contained in:
parent
c72e26c192
commit
43c596fb99
@ -42,7 +42,7 @@ module.exports = function(state, emit) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return html`
|
return html`
|
||||||
<main class="main relative">
|
<main class="relative" style="display: flex">
|
||||||
${state.modal && modal(state, emit)} ${content}
|
${state.modal && modal(state, emit)} ${content}
|
||||||
<div class="fixed pin-r pin-b">
|
<div class="fixed pin-r pin-b">
|
||||||
${button}
|
${button}
|
||||||
|
@ -189,13 +189,13 @@ module.exports = function(state, emit, archive) {
|
|||||||
|
|
||||||
module.exports.wip = function(state, emit) {
|
module.exports.wip = function(state, emit) {
|
||||||
return html`
|
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(
|
list(
|
||||||
Array.from(state.archive.files)
|
Array.from(state.archive.files)
|
||||||
.reverse()
|
.reverse()
|
||||||
.map(f => fileInfo(f, remove(f))),
|
.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'
|
'bg-white px-2 mt-3 border border-grey-light rounded'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@ -209,7 +209,7 @@ module.exports.wip = function(state, emit) {
|
|||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
for="file-upload"
|
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')}"
|
title="${state.translate('addFilesButton')}"
|
||||||
>
|
>
|
||||||
<img src="${assets.get('addfiles.svg')}" class="w-6 h-6 mr-2" /> ${
|
<img src="${assets.get('addfiles.svg')}" class="w-6 h-6 mr-2" /> ${
|
||||||
|
Loading…
Reference in New Issue
Block a user