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:
commit
42dd38b4ee
1 changed files with 21 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue