Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(print/table): stop copying styles and apply own
Elian Doran644e3e200da1
diff --git a/apps/client/src/widgets/collections/table/TablePrintView.css b/apps/client/src/widgets/collections/table/TablePrintView.cssindex ce7eec9ec3..14c1e6dc40 100644--- a/apps/client/src/widgets/collections/table/TablePrintView.css+++ b/apps/client/src/widgets/collections/table/TablePrintView.css@@ -8,4 +8,9 @@.tabulator-print-table th {background-color: #f0f0f0 !important;+}++.tabulator-print-table th,+.tabulator-print-table td {+ padding: 0.25rem 0.5rem !important;}\ No newline at end of filediff --git a/apps/client/src/widgets/collections/table/TablePrintView.tsx b/apps/client/src/widgets/collections/table/TablePrintView.tsxindex 278df64138..abf73f1eee 100644--- a/apps/client/src/widgets/collections/table/TablePrintView.tsx+++ b/apps/client/src/widgets/collections/table/TablePrintView.tsx@@ -26,7 +26,8 @@ export default function TablePrintView({ note, noteIds, viewConfig }: ViewModePrdata={rowData}index="branchId"dataTree={hasChildren}- printStyled={true}+ printAsHtml={true}+ printStyled={false}onReady={() => {const tabulator = tabulatorRef.current;if (!tabulator) return;