Skip to content

Commit

Permalink
Don't wrap the indexes table header cells
Browse files Browse the repository at this point in the history
  • Loading branch information
lerouxb committed Sep 24, 2024
1 parent cd91aec commit 039654f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -126,7 +127,7 @@ export function IndexesTable<T>({
isSticky
className={cx(tableHeadStyles, darkMode && tableHeadDarkModeStyles)}
>
{table.getHeaderGroups().map((headerGroup: HeaderGroup<T>) => (
{table.getHeaderGroups().map((headerGroup) => (
<HeaderRow key={headerGroup.id}>
{headerGroup.headers.map((header) => {
return (
Expand Down

0 comments on commit 039654f

Please sign in to comment.