mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 19:58:09 +00:00
🐛 Fix viewer style in fullscreen mode (#5964)
This commit is contained in:
parent
f7574009b5
commit
7da97d69b0
@ -565,7 +565,7 @@
|
||||
[:section#viewer-section {:ref viewer-section-ref
|
||||
:data-viewer-section true
|
||||
:class (stl/css-case :viewer-section true
|
||||
:fulscreen fullscreen?)
|
||||
:fullscreen fullscreen?)
|
||||
:on-click click-on-screen}
|
||||
(cond
|
||||
(empty? frames)
|
||||
|
||||
@ -206,6 +206,15 @@
|
||||
transform: translateX(-$s-40);
|
||||
}
|
||||
|
||||
[data-fullscreen="true"] .viewer-content {
|
||||
transform: translateY(-$s-48);
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
[data-fullscreen="true"] .viewer-section {
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
[data-force-visible="true"] .viewer-go-next {
|
||||
transform: translateX(0);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user