Skip to content

Commit

Permalink
feat(hide buttons): only show on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
JockeCK committed Mar 24, 2022
1 parent 1bf6851 commit 742252d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cosmoz-image-viewer.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ export const template = html`
border-radius: 20px;
margin: 3px;
}
.nav:not(:hover) {
visibility: hidden;
}
div:hover .nav {
visibility: visible;
}
#carousel {
--skeleton-carousel-item-selected: {
Expand Down

0 comments on commit 742252d

Please sign in to comment.