🐛 Fix code block in view mode shows scroll

This commit is contained in:
Aitor 2024-01-16 16:04:01 +01:00
parent cf569baabd
commit 70ff72a03a
2 changed files with 6 additions and 6 deletions

View file

@ -542,12 +542,11 @@
:index index :index index
:thumbnail-data (:thumbnails file)}] :thumbnail-data (:thumbnails file)}]
[:section {:id "viewer-section" [:section#viewer-section {:ref viewer-section-ref
:ref viewer-section-ref :data-viewer-section true
:data-viewer-section true :class (stl/css-case :viewer-section true
:class (stl/css-case :viewer-section true :fulscreen fullscreen?)
:fulscreen fullscreen?) :on-click click-on-screen}
:on-click click-on-screen}
(cond (cond
(empty? frames) (empty? frames)
[:section {:class (stl/css :empty-state)} [:section {:class (stl/css :empty-state)}

View file

@ -62,6 +62,7 @@
flex-wrap: nowrap; flex-wrap: nowrap;
margin-top: 0; margin-top: 0;
height: 100%; height: 100%;
overflow: hidden;
} }
.viewer-go-prev, .viewer-go-prev,