refactor(collection/presentation): move style to CSS

This commit is contained in:
Elian Doran 2025-10-15 20:48:43 +03:00
parent 15fc98fca1
commit 8f9ee3c1a9
No known key found for this signature in database
2 changed files with 5 additions and 1 deletions

View File

@ -2,4 +2,9 @@
position: absolute;
top: 1em;
right: 1em;
}
.presentation-container {
width: 100%;
height: 100%;
}

View File

@ -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>)}