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
.table-view {
overflow: hidden;
position: relative;
height: 100%;
user-select: none;
display: flex;
flex-direction: column;
> .collection-properties {
border-bottom: 0;
}
.tabulator-tableholder {
height: unset !important;
}
}
.table-view-container {
height: 100%;
}
/* Under a note's own content the table grows with its rows, so that only the note scrolls; a book
has no content above it, and keeps a bounded table that scrolls by itself. */
.note-split:not(.type-book) > .scrolling-container > .note-list-widget.full-height:has(> .note-list-widget-content > .table-view) {
flex: none;
height: auto;
min-height: 0;
overflow: visible;
.note-list-widget-content,
.table-view,
.table-view-container {
height: auto;
}
}
.tabulator-cell .autocomplete {
position: absolute;
top: 50%;
transform: translateY(-50%);
background: transparent;
outline: none !important;
}
.tabulator .tabulator-header {
border-top: unset;
border-bottom-width: 1px;
}
.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left,
.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left {
border-inline-end-width: 1px;
}
.tabulator .tabulator-row.archived {
opacity: 0.5;
}
.tabulator .tabulator-footer {
background-color: unset;
padding: 5px 0;
}
.tabulator .tabulator-footer .tabulator-footer-contents {
justify-content: left;
gap: 0.5em;
}
/* The "new row" strip under the last row. Part of the scrolled content vertically, so it follows
the rows; pinned to the visible edge horizontally, so it reads whole at any scroll position.
The strip itself takes no clicks — only the button within it does, sitting past the "#" column
so that it lines up with the title a new row would get. */
.table-view .tabulator-tableholder > .table-new-row-strip {
position: sticky;
inset-inline-start: 0;
width: 100%;
padding-inline-start: var(--row-handle-column-width, 0px);
> .table-new-row {
display: inline-flex;
align-items: center;
gap: 0.4em;
padding: 5px 8px;
color: var(--muted-text-color);
}
}
.tabulator button.tree-expand,
.tabulator button.tree-collapse {
display: inline-block;
appearance: none;
border: 0;
background: transparent;
width: 1.5em;
position: relative;
vertical-align: middle;
}
.tabulator button.tree-expand span,
.tabulator button.tree-collapse span {
position: absolute;
top: 0;
inset-inline-start: 0;
font-size: 1.5em;
transform: translateY(-50%);
}
.tabulator .tabulator-editable {
textarea {
padding: 7px !important;
}
}