Skip to content

Commit

Permalink
Buttons only visible on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
ernstmul committed Oct 21, 2024
1 parent a564b09 commit a2eff05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions v2/pink-sb/src/lib/HiddenText.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,16 @@
background: var(--color-overlay-neutral-hover, rgba(25, 25, 28, 0.03));
}
}
.container:hover button {
display: block;
}
button {
width: var(--icon-size-S, 16px);
height: var(--icon-size-S, 16px);
flex-shrink: 0;
cursor: pointer;
color: var(--color-fgcolor-neutral-tertiary);
display: none;
}
.dots {
Expand Down

0 comments on commit a2eff05

Please sign in to comment.