mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 20:56:12 +02:00
🐛 Fix viewer style in fullscreen mode (#5964)
This commit is contained in:
parent
f7574009b5
commit
7da97d69b0
2 changed files with 10 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue