1
0
mirror of https://gitlab.com/timvisee/send.git synced 2024-11-14 07:02:30 +01:00

added flex-no-shrink to archive info icons

This commit is contained in:
Danny Coates 2019-02-26 17:31:53 -08:00
parent 7c540b8903
commit 72b41c158b
No known key found for this signature in database
GPG Key ID: 4C442633C62E00CB

View File

@ -120,7 +120,7 @@ function fileInfo(file, action) {
function archiveInfo(archive, action) { function archiveInfo(archive, action) {
return html` return html`
<p class="w-full flex items-center"> <p class="w-full flex items-center">
<img class="mr-3" src="${assets.get('blue_file.svg')}"/> <img class="mr-3 flex-no-shrink" src="${assets.get('blue_file.svg')}"/>
<p class="flex-grow"> <p class="flex-grow">
<h1 class="text-base font-medium word-break-all">${archive.name}</h1> <h1 class="text-base font-medium word-break-all">${archive.name}</h1>
<div class="text-sm font-normal opacity-75 pt-1">${bytes( <div class="text-sm font-normal opacity-75 pt-1">${bytes(
@ -213,7 +213,7 @@ module.exports = function(state, emit, archive) {
html` html`
<input <input
type="image" type="image"
class="self-start text-white hover:opacity-75 focus:outline" class="self-start flex-no-shrink text-white hover:opacity-75 focus:outline"
alt="${state.translate('deleteButtonHover')}" alt="${state.translate('deleteButtonHover')}"
title="${state.translate('deleteButtonHover')}" title="${state.translate('deleteButtonHover')}"
src="${assets.get('close-16.svg')}" src="${assets.get('close-16.svg')}"