From 475c962a5fdaab584626e57b051d136b64c44744 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 17 May 2023 08:16:47 +0100 Subject: [PATCH] Center align boolean fields --- .../frontend-core/src/components/grid/cells/BooleanCell.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/frontend-core/src/components/grid/cells/BooleanCell.svelte b/packages/frontend-core/src/components/grid/cells/BooleanCell.svelte index 52aecb07a7..c3449c0b39 100644 --- a/packages/frontend-core/src/components/grid/cells/BooleanCell.svelte +++ b/packages/frontend-core/src/components/grid/cells/BooleanCell.svelte @@ -37,6 +37,9 @@ .boolean-cell { padding: 2px var(--cell-padding); pointer-events: none; + flex: 1 1 auto; + display: flex; + justify-content: center; } .boolean-cell.editable { pointer-events: all;