mirror of
https://github.com/penpot/penpot.git
synced 2026-02-14 07:33:04 +00: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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user