diff --git a/apps/client/src/widgets/collections/presentation/index.css b/apps/client/src/widgets/collections/presentation/index.css
index ac3d628c3..7c1706af5 100644
--- a/apps/client/src/widgets/collections/presentation/index.css
+++ b/apps/client/src/widgets/collections/presentation/index.css
@@ -1,13 +1,3 @@
-.presentation-button-bar {
- position: absolute;
- top: 1em;
- right: 1em;
-
- .floating-buttons-children {
- top: 0;
- }
-}
-
.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 28fd18fa0..6fb618b1f 100644
--- a/apps/client/src/widgets/collections/presentation/index.tsx
+++ b/apps/client/src/widgets/collections/presentation/index.tsx
@@ -55,12 +55,14 @@ export default function PresentationView({ note, noteIds, media, onReady, onProg
if (media === "screen") {
return (
<>
-
+ }
+ />
{content}
-
>
);
} else if (media === "print") {
@@ -112,41 +114,33 @@ function ButtonOverlay({ containerRef, api }: { containerRef: RefObject
-
-
{
- const currentSlide = api?.getCurrentSlide();
- const noteId = getNoteIdFromSlide(currentSlide);
+ <>
+ {
+ const currentSlide = api?.getCurrentSlide();
+ const noteId = getNoteIdFromSlide(currentSlide);
- if (noteId) {
- openInCurrentNoteContext(e, noteId);
- }
- }}
- />
+ if (noteId) {
+ openInCurrentNoteContext(e, noteId);
+ }
+ }}
+ />
- api?.toggleOverview()}
- />
+ api?.toggleOverview()}
+ />
- containerRef.current?.requestFullscreen()}
- />
-
-
+ containerRef.current?.requestFullscreen()}
+ />
+ >
);
}