feat(book/table): set full height

This commit is contained in:
Elian Doran 2025-06-25 10:40:04 +03:00
parent 5450bdeae9
commit a19186c508
No known key found for this signature in database

View File

@ -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;
}