🐛 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,8 +542,7 @@
: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?)

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,