Delete table.module.css

This commit is contained in:
Peter White
2026-03-25 10:12:51 +01:00
parent 7766725c7f
commit 1fbc2b2acc
3 changed files with 2 additions and 12 deletions
@@ -3,8 +3,6 @@ import { useScrollListener } from '@/components/hooks/useScrollListener';
import { tcls } from '@/lib/tailwind';
import { type ReactNode, useCallback, useEffect, useLayoutEffect, useRef } from 'react';
import styles from './table.module.css';
interface StickyViewGridProps {
className?: string;
header: ReactNode;
@@ -128,8 +126,7 @@ export function StickyViewGrid({ className, header, children }: StickyViewGridPr
<div
ref={bodyScrollRef}
className={tcls(
styles.tableScrollArea,
'w-full min-w-0 overflow-x-auto overflow-y-hidden border-tint-subtle',
'w-full min-w-0 overflow-x-auto overflow-y-hidden overscroll-x-none border-tint-subtle',
'group-data-[scrollable=true]/table:mx-px',
'group-data-[scrollable=true]/table:border-0',
'group-data-[scrollable=true]/table:rounded-none'
@@ -9,7 +9,6 @@ import { StickyViewGrid } from './StickyViewGrid';
import { ViewCards } from './ViewCards';
import { ViewGrid, ViewGridHeader } from './ViewGrid';
import { hasVisibleHeader } from './layout';
import styles from './table.module.css';
export type TableRecordKV = [string, DocumentTableRecord];
@@ -75,8 +74,7 @@ export function Table(props: BlockProps<DocumentBlockTable>) {
<div className={tcls(style, 'relative mx-auto grid w-full min-w-0')}>
<div
className={tcls(
styles.tableScrollArea,
'w-full min-w-0 overflow-x-auto overflow-y-hidden border-tint-subtle'
'w-full min-w-0 overflow-x-auto overflow-y-hidden overscroll-x-none border-tint-subtle '
)}
>
<div className={tcls('flex', 'flex-col', 'w-fit')}>
@@ -1,5 +0,0 @@
@reference "../../RootLayout/globals.css";
.tableScrollArea {
overscroll-behavior-x: none;
}