mirror of https://github.com/buster-so/buster.git
update th
This commit is contained in:
parent
a6d2041126
commit
728a2cdc08
|
@ -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<Record<string, string | number | Date | null>, unknown>;
|
||||
|
@ -65,15 +66,15 @@ const DraggableHeader: React.FC<DraggableHeaderProps> = ({
|
|||
onClick={header.column.getCanSort() ? header.column.getToggleSortingHandler() : undefined}>
|
||||
<span
|
||||
className={cn(
|
||||
'flex h-full flex-1 items-center space-x-1.5 p-2',
|
||||
'flex h-full flex-1 items-center space-x-1.5 overflow-hidden p-2',
|
||||
draggable && 'cursor-grab'
|
||||
)}
|
||||
ref={draggable ? setDragNodeRef : undefined}
|
||||
{...attributes}
|
||||
{...listeners}>
|
||||
<span className="text-gray-dark text-base font-normal">
|
||||
<Text variant={'secondary'} truncate>
|
||||
{flexRender(header.column.columnDef.header, header.getContext())}
|
||||
</span>
|
||||
</Text>
|
||||
|
||||
{sortable && (
|
||||
<>
|
||||
|
|
|
@ -46,7 +46,7 @@ export const VersionHistoryHeaderButtons: React.FC<{}> = React.memo(({}) => {
|
|||
disabled={isSelectedVersionCurrent || !currentVersion}
|
||||
onClick={onClickRestoreVersionPreflight}
|
||||
loading={isRestoringVersion}>
|
||||
Restore version {restoringVersion}
|
||||
Restore version
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -45,3 +45,7 @@ body {
|
|||
p {
|
||||
@apply leading-1.5;
|
||||
}
|
||||
|
||||
th {
|
||||
@apply text-base font-normal;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue