From 728a2cdc08d85ecc74b2d58af56e2e817a4ac179 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Thu, 17 Apr 2025 10:33:14 -0600 Subject: [PATCH] update th --- .../table/AppDataGrid/TanStackDataGrid/DataGridHeader.tsx | 7 ++++--- .../VersionHistoryHeaderButtons.tsx | 2 +- web/src/styles/styles.scss | 4 ++++ 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/web/src/components/ui/table/AppDataGrid/TanStackDataGrid/DataGridHeader.tsx b/web/src/components/ui/table/AppDataGrid/TanStackDataGrid/DataGridHeader.tsx index 8fc214aca..e26f3bb3b 100644 --- a/web/src/components/ui/table/AppDataGrid/TanStackDataGrid/DataGridHeader.tsx +++ b/web/src/components/ui/table/AppDataGrid/TanStackDataGrid/DataGridHeader.tsx @@ -7,6 +7,7 @@ import { CaretDown, CaretUp } from '../../../icons/NucleoIconFilled'; import { HEADER_HEIGHT } from './constants'; import { useSortColumnContext } from './SortColumnWrapper'; import { Virtualizer } from '@tanstack/react-virtual'; +import { Text } from '@/components/ui/typography'; interface DraggableHeaderProps { header: Header, unknown>; @@ -65,15 +66,15 @@ const DraggableHeader: React.FC = ({ onClick={header.column.getCanSort() ? header.column.getToggleSortingHandler() : undefined}> - + {flexRender(header.column.columnDef.header, header.getContext())} - + {sortable && ( <> diff --git a/web/src/layouts/ChatLayout/FileContainer/FileContainerHeader/FileContainerHeaderVersionHistory/VersionHistoryHeaderButtons.tsx b/web/src/layouts/ChatLayout/FileContainer/FileContainerHeader/FileContainerHeaderVersionHistory/VersionHistoryHeaderButtons.tsx index 5748fe27b..e5f8b9453 100644 --- a/web/src/layouts/ChatLayout/FileContainer/FileContainerHeader/FileContainerHeaderVersionHistory/VersionHistoryHeaderButtons.tsx +++ b/web/src/layouts/ChatLayout/FileContainer/FileContainerHeader/FileContainerHeaderVersionHistory/VersionHistoryHeaderButtons.tsx @@ -46,7 +46,7 @@ export const VersionHistoryHeaderButtons: React.FC<{}> = React.memo(({}) => { disabled={isSelectedVersionCurrent || !currentVersion} onClick={onClickRestoreVersionPreflight} loading={isRestoringVersion}> - Restore version {restoringVersion} + Restore version ); diff --git a/web/src/styles/styles.scss b/web/src/styles/styles.scss index ddb820853..c85d75560 100644 --- a/web/src/styles/styles.scss +++ b/web/src/styles/styles.scss @@ -45,3 +45,7 @@ body { p { @apply leading-1.5; } + +th { + @apply text-base font-normal; +}