chore(print/table): stop copying styles and apply own

This commit is contained in:
Elian Doran 2025-11-21 22:15:01 +02:00
parent 670cc474a4
commit 644e3e200d
No known key found for this signature in database
2 changed files with 7 additions and 1 deletions

View File

@ -9,3 +9,8 @@
.tabulator-print-table th {
background-color: #f0f0f0 !important;
}
.tabulator-print-table th,
.tabulator-print-table td {
padding: 0.25rem 0.5rem !important;
}

View File

@ -26,7 +26,8 @@ export default function TablePrintView({ note, noteIds, viewConfig }: ViewModePr
data={rowData}
index="branchId"
dataTree={hasChildren}
printStyled={true}
printAsHtml={true}
printStyled={false}
onReady={() => {
const tabulator = tabulatorRef.current;
if (!tabulator) return;