From 53d3eaf46501d874a5004610424fdca665331a6b Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 17 Apr 2023 14:54:58 +0100 Subject: [PATCH] Update attachment cell to respect row height --- .../src/components/sheet/cells/AttachmentCell.svelte | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/frontend-core/src/components/sheet/cells/AttachmentCell.svelte b/packages/frontend-core/src/components/sheet/cells/AttachmentCell.svelte index 388682f773..e762da8d0b 100644 --- a/packages/frontend-core/src/components/sheet/cells/AttachmentCell.svelte +++ b/packages/frontend-core/src/components/sheet/cells/AttachmentCell.svelte @@ -107,8 +107,8 @@ flex: 1 1 auto; display: flex; flex-direction: row; - align-items: center; - padding: 0 var(--cell-padding); + align-items: stretch; + padding: var(--cell-padding); flex-wrap: nowrap; gap: var(--cell-spacing); align-self: stretch; @@ -134,8 +134,9 @@ user-select: none; } img { - height: calc(var(--row-height) - 12px); - max-width: 64px; + height: auto; + /*height: calc(var(--row-height) - 12px);*/ + /*max-width: 64px;*/ } .dropzone { position: absolute;