From c4125b5a938601ebda9340a21be0f62bfbaa8cb4 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 17 Apr 2023 13:37:03 +0100 Subject: [PATCH] Update text cells, number cells, long form field cells and relationship cells to respect row height --- .../components/sheet/cells/HeaderCell.svelte | 1 + .../sheet/cells/LongFormCell.svelte | 12 +++-- .../sheet/cells/RelationshipCell.svelte | 14 +++--- .../components/sheet/cells/SheetCell.svelte | 7 ++- .../components/sheet/cells/TextCell.svelte | 46 ++++++++++++++++--- .../sheet/controls/RowHeightButton.svelte | 12 +++-- .../src/components/sheet/layout/Sheet.svelte | 7 +-- .../sheet/layout/StickyColumn.svelte | 2 +- .../src/components/sheet/lib/constants.js | 5 +- .../src/components/sheet/stores/ui.js | 16 +++++++ 10 files changed, 94 insertions(+), 28 deletions(-) diff --git a/packages/frontend-core/src/components/sheet/cells/HeaderCell.svelte b/packages/frontend-core/src/components/sheet/cells/HeaderCell.svelte index 0d3d74c979..64ef8c3be8 100644 --- a/packages/frontend-core/src/components/sheet/cells/HeaderCell.svelte +++ b/packages/frontend-core/src/components/sheet/cells/HeaderCell.svelte @@ -111,6 +111,7 @@ width={column.width} left={column.left} defaultHeight + center > {:else}
@@ -68,19 +69,21 @@ diff --git a/packages/frontend-core/src/components/sheet/controls/RowHeightButton.svelte b/packages/frontend-core/src/components/sheet/controls/RowHeightButton.svelte index 023ee17664..e6e9103afc 100644 --- a/packages/frontend-core/src/components/sheet/controls/RowHeightButton.svelte +++ b/packages/frontend-core/src/components/sheet/controls/RowHeightButton.svelte @@ -1,21 +1,25 @@