Merge pull request #2019 from penpot/palba-view-mode-improvements-2

On view mode only show arrows on hover
This commit is contained in:
Eva Marco 2022-06-21 11:52:52 +02:00 committed by GitHub
commit e1d6cded62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,9 +27,10 @@
height: 100%; height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
width: 53px;
.arrow { .arrow {
display: flex; display: none;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
border-radius: 12px; border-radius: 12px;
@ -49,6 +50,10 @@
fill: $color-black; fill: $color-black;
} }
} }
&:hover .arrow {
display: flex;
}
} }
& .viewer-go-next { & .viewer-go-next {