From 039654fd188f301902e081f14ac24ebec90068d7 Mon Sep 17 00:00:00 2001 From: Le Roux Bodenstein Date: Tue, 24 Sep 2024 13:59:40 +0100 Subject: [PATCH] Don't wrap the indexes table header cells --- .../src/components/indexes-table/indexes-table.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/compass-indexes/src/components/indexes-table/indexes-table.tsx b/packages/compass-indexes/src/components/indexes-table/indexes-table.tsx index ff6fc876476..8590810f473 100644 --- a/packages/compass-indexes/src/components/indexes-table/indexes-table.tsx +++ b/packages/compass-indexes/src/components/indexes-table/indexes-table.tsx @@ -76,6 +76,7 @@ const tableHeadDarkModeStyles = css({ }); const tableHeadCellStyles = css({ + whiteSpace: 'nowrap', '> div': { // Push the sort button to the right of the head cell. justifyContent: 'space-between', @@ -126,7 +127,7 @@ export function IndexesTable({ isSticky className={cx(tableHeadStyles, darkMode && tableHeadDarkModeStyles)} > - {table.getHeaderGroups().map((headerGroup: HeaderGroup) => ( + {table.getHeaderGroups().map((headerGroup) => ( {headerGroup.headers.map((header) => { return (