mirror of
https://github.com/penpot/penpot.git
synced 2025-05-10 22:06:38 +02:00
🐛 Fix code block in view mode shows scroll
This commit is contained in:
parent
cf569baabd
commit
70ff72a03a
2 changed files with 6 additions and 6 deletions
|
@ -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)}
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue