From ede91c645da93167e1f9217674c2eee0dba225c4 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 31 Jan 2026 13:05:05 +0200 Subject: [PATCH] fix(presentation): cut off due to collection properties --- apps/client/src/widgets/collections/presentation/index.css | 6 ++++++ apps/client/src/widgets/collections/presentation/index.tsx | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/client/src/widgets/collections/presentation/index.css b/apps/client/src/widgets/collections/presentation/index.css index 7c1706af50..98ffdecb86 100644 --- a/apps/client/src/widgets/collections/presentation/index.css +++ b/apps/client/src/widgets/collections/presentation/index.css @@ -1,3 +1,9 @@ +.presentation-view { + display: flex; + flex-direction: column; + height: 100%; +} + .presentation-container { width: 100%; height: 100%; diff --git a/apps/client/src/widgets/collections/presentation/index.tsx b/apps/client/src/widgets/collections/presentation/index.tsx index 6fb618b1f2..0934108521 100644 --- a/apps/client/src/widgets/collections/presentation/index.tsx +++ b/apps/client/src/widgets/collections/presentation/index.tsx @@ -54,7 +54,7 @@ export default function PresentationView({ note, noteIds, media, onReady, onProg if (media === "screen") { return ( - <> +
} @@ -63,7 +63,7 @@ export default function PresentationView({ note, noteIds, media, onReady, onProg className="presentation-container" containerRef={containerRef} >{content} - +
); } else if (media === "print") { // Printing needs a query parameter that is read by Reveal.js.