From bec3165bcc8654b7ae75c97143eeee345cb80321 Mon Sep 17 00:00:00 2001 From: Sidney Alcantara Date: Mon, 24 Oct 2022 15:39:58 +1100 Subject: [PATCH] RowHeight: remove offset by 1 to match new table --- src/components/TableToolbar/RowHeight.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/TableToolbar/RowHeight.tsx b/src/components/TableToolbar/RowHeight.tsx index 01056284..59e8523b 100644 --- a/src/components/TableToolbar/RowHeight.tsx +++ b/src/components/TableToolbar/RowHeight.tsx @@ -12,7 +12,7 @@ import { } from "@src/atoms/tableScope"; import { DEFAULT_ROW_HEIGHT } from "@src/components/Table"; -const ROW_HEIGHTS = [33, 41, 65, 97, 129, 161]; +const ROW_HEIGHTS = [32, 40, 64, 96, 128, 160]; export default function RowHeight() { const theme = useTheme(); @@ -63,7 +63,7 @@ export default function RowHeight() { Row height {ROW_HEIGHTS.map((height) => ( - {height - 1}px + {height}px ))}