CSS
Classic widgets
In doRender():[1]
this.cssBlock(`#my-widget {
position: absolute;
bottom: 40px;
left: 60px;
z-index: 1;
}`);Preact widgets
See the dedicated page: CSS.
Reference: https://trilium.rocks/X7pxYpiu0lgU
In doRender():[1]
this.cssBlock(`#my-widget {
position: absolute;
bottom: 40px;
left: 60px;
z-index: 1;
}`);See the dedicated page: CSS.
Reference: https://trilium.rocks/X7pxYpiu0lgU