From 4f42f543d8a555105bfeec26918462790d4b421c Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Thu, 10 Jul 2025 21:20:48 +0300 Subject: [PATCH] style/table collections: create a stylesheet dedicated to the table view --- apps/client/src/stylesheets/table.css | 4 ++++ apps/client/src/widgets/view_widgets/table_view/index.ts | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 apps/client/src/stylesheets/table.css diff --git a/apps/client/src/stylesheets/table.css b/apps/client/src/stylesheets/table.css new file mode 100644 index 000000000..36fb68fbf --- /dev/null +++ b/apps/client/src/stylesheets/table.css @@ -0,0 +1,4 @@ +.tabulator { + background: unset; + border: unset; +} \ No newline at end of file diff --git a/apps/client/src/widgets/view_widgets/table_view/index.ts b/apps/client/src/widgets/view_widgets/table_view/index.ts index 8bdc077ec..2ba41c6cc 100644 --- a/apps/client/src/widgets/view_widgets/table_view/index.ts +++ b/apps/client/src/widgets/view_widgets/table_view/index.ts @@ -7,7 +7,8 @@ import type { CommandListenerData, EventData } from "../../../components/app_con import type { Attribute } from "../../../services/attribute_parser.js"; import note_create from "../../../services/note_create.js"; import {Tabulator, SortModule, FormatModule, InteractionModule, EditModule, ResizeColumnsModule, FrozenColumnsModule, PersistenceModule, MoveColumnsModule, MenuModule, MoveRowsModule, ColumnDefinition} from 'tabulator-tables'; -import "tabulator-tables/dist/css/tabulator_bootstrap5.min.css"; +import "tabulator-tables/dist/css/tabulator.css"; +import "../../../../src/stylesheets/table.css"; import { canReorderRows, configureReorderingRows } from "./dragging.js"; import buildFooter from "./footer.js"; import getPromotedAttributeInformation, { buildRowDefinitions } from "./rows.js";