mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
feat(book/table): set full height
This commit is contained in:
parent
5450bdeae9
commit
a19186c508
@ -2,6 +2,16 @@ import ViewMode, { ViewModeArgs } from "./view_mode";
|
||||
|
||||
const TPL = /*html*/`
|
||||
<div class="table-view">
|
||||
<style>
|
||||
.table-view {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
height: 100%;
|
||||
user-select: none;
|
||||
padding: 10px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<p>Table view goes here.</p>
|
||||
</div>
|
||||
`;
|
||||
@ -17,6 +27,10 @@ export default class TableView extends ViewMode {
|
||||
args.$parent.append(this.$root);
|
||||
}
|
||||
|
||||
get isFullHeight(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
async renderList() {
|
||||
return this.$root;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user