mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
refactor(collection/presentation): move style to CSS
This commit is contained in:
@@ -2,4 +2,9 @@
|
||||
position: absolute;
|
||||
top: 1em;
|
||||
right: 1em;
|
||||
}
|
||||
|
||||
.presentation-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
@@ -26,7 +26,6 @@ export default function PresentationView({ note }: ViewModeProps<{}>) {
|
||||
<>
|
||||
<ShadowDom
|
||||
className="presentation-container"
|
||||
style={{ width: "100%", height: "100%" }}
|
||||
containerRef={containerRef}
|
||||
>
|
||||
{stylesheets.map(stylesheet => <style>{stylesheet}</style>)}
|
||||
|
||||
Reference in New Issue
Block a user