Skip to content

Build your personal knowledge base with Trilium Notes

refactor(collection/presentation): move style to CSS

Elian Doran8f9ee3c1a995
diff --git a/apps/client/src/widgets/collections/presentation/index.css b/apps/client/src/widgets/collections/presentation/index.css
index 5d96c177c5..5aafffd9f0 100644
--- a/apps/client/src/widgets/collections/presentation/index.css
+++ b/apps/client/src/widgets/collections/presentation/index.css
@@ -2,4 +2,9 @@
position: absolute;
top: 1em;
right: 1em;
+}
+
+.presentation-container {
+ width: 100%;
+ height: 100%;
}
\ No newline at end of file
diff --git a/apps/client/src/widgets/collections/presentation/index.tsx b/apps/client/src/widgets/collections/presentation/index.tsx
index 9f1b3715db..e9d7eececa 100644
--- a/apps/client/src/widgets/collections/presentation/index.tsx
+++ b/apps/client/src/widgets/collections/presentation/index.tsx
@@ -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>)}