0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-03 21:09:00 -05:00

Merge pull request #2151 from penpot/eva-show-next-btn-viewer

🎉 Make prev and next buttons fixed in viewer
This commit is contained in:
Alejandro 2022-08-09 12:50:50 +02:00 committed by GitHub
commit 42dd38b4ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,26 @@
grid-template-rows: 232px auto;
grid-template-columns: 1fr;
}
.fullscreen.viewer-layout {
.viewer-section {
& .viewer-go-prev,
& .viewer-go-next {
.arrow {
display: none;
}
}
}
}
.fullscreen.viewer-layout.force-visible {
.viewer-section {
& .viewer-go-prev,
& .viewer-go-next {
.arrow {
display: flex;
}
}
}
}
.viewer-section {
height: calc(100vh - 48px);
@ -29,7 +49,7 @@
width: 53px;
z-index: 2;
.arrow {
display: none;
display: flex;
align-items: center;
justify-content: center;
border-radius: 12px;
@ -49,10 +69,6 @@
fill: $color-black;
}
}
&:hover .arrow {
display: flex;
}
}
& .viewer-go-next {