0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-26 08:29:42 -05:00

🐛 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
: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)}

View file

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