mirror of
https://github.com/zadam/trilium.git
synced 2025-11-26 02:24:23 +01:00
chore(print/table): stop copying styles and apply own
This commit is contained in:
parent
670cc474a4
commit
644e3e200d
@ -9,3 +9,8 @@
|
|||||||
.tabulator-print-table th {
|
.tabulator-print-table th {
|
||||||
background-color: #f0f0f0 !important;
|
background-color: #f0f0f0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tabulator-print-table th,
|
||||||
|
.tabulator-print-table td {
|
||||||
|
padding: 0.25rem 0.5rem !important;
|
||||||
|
}
|
||||||
@ -26,7 +26,8 @@ export default function TablePrintView({ note, noteIds, viewConfig }: ViewModePr
|
|||||||
data={rowData}
|
data={rowData}
|
||||||
index="branchId"
|
index="branchId"
|
||||||
dataTree={hasChildren}
|
dataTree={hasChildren}
|
||||||
printStyled={true}
|
printAsHtml={true}
|
||||||
|
printStyled={false}
|
||||||
onReady={() => {
|
onReady={() => {
|
||||||
const tabulator = tabulatorRef.current;
|
const tabulator = tabulatorRef.current;
|
||||||
if (!tabulator) return;
|
if (!tabulator) return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user