mirror of
https://github.com/zadam/trilium.git
synced 2025-11-26 02:24:23 +01:00
chore(print/table): address review
This commit is contained in:
parent
8dc43dab59
commit
ab14bdbb18
@ -1,20 +1,20 @@
|
||||
.tabulator-print-table table,
|
||||
.tabulator-print-table th,
|
||||
.tabulator-print-table tr,
|
||||
.tabulator-print-table td {
|
||||
border: 1px solid black !important;
|
||||
.table-print-view .tabulator-print-table table,
|
||||
.table-print-view .tabulator-print-table th,
|
||||
.table-print-view .tabulator-print-table tr,
|
||||
.table-print-view .tabulator-print-table td {
|
||||
border: 1px solid black;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
.tabulator-print-table th {
|
||||
background-color: #f0f0f0 !important;
|
||||
.table-print-view .tabulator-print-table th {
|
||||
background-color: #f0f0f0;
|
||||
}
|
||||
|
||||
.tabulator-print-table th,
|
||||
.tabulator-print-table td {
|
||||
padding: 0.25rem 0.5rem !important;
|
||||
.table-print-view .tabulator-print-table th,
|
||||
.table-print-view .tabulator-print-table td {
|
||||
padding: 0.25rem 0.5rem;
|
||||
}
|
||||
|
||||
.tabulator-print-table td[aria-checked] svg path {
|
||||
fill: currentColor !important;
|
||||
.table-print-view .tabulator-print-table td[aria-checked] svg path {
|
||||
fill: currentColor;
|
||||
}
|
||||
@ -15,7 +15,7 @@ export interface TableConfig {
|
||||
}
|
||||
|
||||
export default function useData(note: FNote, noteIds: string[], viewConfig: TableConfig | undefined, newAttributePosition: RefObject<number | undefined> | undefined, resetNewAttributePosition: () => void) {
|
||||
const [ maxDepth ] = useNoteLabelInt(note, "maxNestingDepth") ?? -1;
|
||||
const [ maxDepth ] = useNoteLabelInt(note, "maxNestingDepth");
|
||||
const [ includeArchived ] = useNoteLabelBoolean(note, "includeArchived");
|
||||
|
||||
const [ columnDefs, setColumnDefs ] = useState<ColumnDefinition[]>();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user