diff --git a/frontend/src/app/main/ui/viewer.cljs b/frontend/src/app/main/ui/viewer.cljs index 651a7c806..899dee386 100644 --- a/frontend/src/app/main/ui/viewer.cljs +++ b/frontend/src/app/main/ui/viewer.cljs @@ -542,12 +542,11 @@ :index index :thumbnail-data (:thumbnails file)}] - [:section {:id "viewer-section" - :ref viewer-section-ref - :data-viewer-section true - :class (stl/css-case :viewer-section true - :fulscreen fullscreen?) - :on-click click-on-screen} + [:section#viewer-section {:ref viewer-section-ref + :data-viewer-section true + :class (stl/css-case :viewer-section true + :fulscreen fullscreen?) + :on-click click-on-screen} (cond (empty? frames) [:section {:class (stl/css :empty-state)} diff --git a/frontend/src/app/main/ui/viewer.scss b/frontend/src/app/main/ui/viewer.scss index 94f54ae5f..7b98ecfa3 100644 --- a/frontend/src/app/main/ui/viewer.scss +++ b/frontend/src/app/main/ui/viewer.scss @@ -62,6 +62,7 @@ flex-wrap: nowrap; margin-top: 0; height: 100%; + overflow: hidden; } .viewer-go-prev,