mirror of
https://github.com/zadam/trilium.git
synced 2025-10-21 07:38:53 +02:00
refactor(collection/presentation): move style to CSS
This commit is contained in:
parent
15fc98fca1
commit
8f9ee3c1a9
@ -3,3 +3,8 @@
|
|||||||
top: 1em;
|
top: 1em;
|
||||||
right: 1em;
|
right: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.presentation-container {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
@ -26,7 +26,6 @@ export default function PresentationView({ note }: ViewModeProps<{}>) {
|
|||||||
<>
|
<>
|
||||||
<ShadowDom
|
<ShadowDom
|
||||||
className="presentation-container"
|
className="presentation-container"
|
||||||
style={{ width: "100%", height: "100%" }}
|
|
||||||
containerRef={containerRef}
|
containerRef={containerRef}
|
||||||
>
|
>
|
||||||
{stylesheets.map(stylesheet => <style>{stylesheet}</style>)}
|
{stylesheets.map(stylesheet => <style>{stylesheet}</style>)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user