From b66d49ce41918861f9425452610e9a213e8eca17 Mon Sep 17 00:00:00 2001 From: Danil Kostromin Date: Fri, 12 Jan 2024 22:47:56 +0200 Subject: [PATCH] style(import): fix import table overflowing horizontally Signed-off-by: Danil Kostromin --- apps/bublik/src/pages/import-page/import-page.tsx | 4 ++-- .../import-event-table.component.spec.tsx.snap | 2 +- .../import-event-table.component.tsx | 10 +++++----- .../import-event-table.container.tsx | 5 ++++- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/apps/bublik/src/pages/import-page/import-page.tsx b/apps/bublik/src/pages/import-page/import-page.tsx index 63e51a30..2b00bc82 100644 --- a/apps/bublik/src/pages/import-page/import-page.tsx +++ b/apps/bublik/src/pages/import-page/import-page.tsx @@ -10,8 +10,8 @@ export const ImportPage = () => { useDocumentTitle('Import - Bublik'); return ( -
-
+
+
diff --git a/libs/bublik/features/run-import/src/lib/import-events-table/__snapshots__/import-event-table.component.spec.tsx.snap b/libs/bublik/features/run-import/src/lib/import-events-table/__snapshots__/import-event-table.component.spec.tsx.snap index 23f3a811..4a2a6f64 100644 --- a/libs/bublik/features/run-import/src/lib/import-events-table/__snapshots__/import-event-table.component.spec.tsx.snap +++ b/libs/bublik/features/run-import/src/lib/import-events-table/__snapshots__/import-event-table.component.spec.tsx.snap @@ -174,7 +174,7 @@ exports[`ImportEventTableComponent > should render successfully 1`] = ` class="border-separate border-spacing-y-1 w-full" > { return (
- + {table.getHeaderGroups().map((headerGroup) => ( {headerGroup.headers.map((header) => ( diff --git a/libs/bublik/features/run-import/src/lib/import-events-table/import-event-table.container.tsx b/libs/bublik/features/run-import/src/lib/import-events-table/import-event-table.container.tsx index f8fb29cd..b009c574 100644 --- a/libs/bublik/features/run-import/src/lib/import-events-table/import-event-table.container.tsx +++ b/libs/bublik/features/run-import/src/lib/import-events-table/import-event-table.container.tsx @@ -75,7 +75,10 @@ export const ImportEventsTableContainer = (props: PropsWithChildren) => {
{isLoading ? (