mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	feat(book/table): set full height
This commit is contained in:
		| @@ -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; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user