This commit is contained in:
Mark Liang (You-Wen) 2019-01-30 23:59:22 +08:00 committed by Donovan Preston
parent 9e3bde2cc9
commit b55960d743
4 changed files with 85 additions and 74 deletions

View file

@ -29,7 +29,7 @@ function password(state) {
const MAX_LENGTH = 32;
return html`
<div class="my-2 px-4 md:px-0">
<div class="my-2 px-4">
<div class="checkbox inline-block mr-3">
<input
id="add-password"
@ -238,7 +238,9 @@ module.exports.wip = function(state, emit) {
'list-reset overflow-y-auto px-4 bg-blue-lightest md:h-full md:max-h-half-screen',
'bg-white px-2 mt-3 border border-grey-light rounded'
)}
<div class="flex-grow p-4 bg-blue-lightest mb-6 font-medium">
<div
class="flex-grow flex items-end p-4 bg-blue-lightest mb-6 font-medium"
>
<input
id="file-upload"
class="hidden"
@ -263,7 +265,7 @@ module.exports.wip = function(state, emit) {
${expiryOptions(state, emit)} ${password(state, emit)}
<button
id="upload-btn"
class="btn md:rounded flex-no-shrink"
class="btn rounded flex-no-shrink"
title="${state.translate('uploadFilesButton')}"
onclick="${upload}"
>

View file

@ -7,7 +7,7 @@ const signupDialog = require('./signupDialog');
module.exports = function(state, emit) {
const el = html`
<div class="px-4 md:px-0">
<div class="px-4">
${raw(
state.translate('frontPageExpireInfo', {
downloadCount:

View file

@ -3,7 +3,7 @@ const assets = require('../../common/assets');
module.exports = function intro(state) {
return html`
<send-intro class="flex flex-col items-center justify-center bg-white border border-grey-light md:border-none px-6 text-center md:py-0 py-6 md:mb-0 mb-6 h-full">
<send-intro class="flex flex-col items-center justify-center bg-white border border-grey-light md:border-none px-6 text-center md:py-0 py-6 mb-0 h-full w-full">
<div class="flex flex-col items-center justify-between h-full py-8">
<p class="text-center">
<div class="font-semibold leading-normal">${state.translate(