0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-25 14:11:33 -05:00

🎉 Make prev and next buttons fixed in viewer

This commit is contained in:
Eva 2022-08-09 12:32:11 +02:00
parent b560c07243
commit 5791ddda49

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 {