feat: show quote card action buttons only on hover

This commit is contained in:
Settel 2022-08-11 20:05:08 +02:00
parent 5eca70df6a
commit dac63f9c35

View File

@ -59,9 +59,15 @@ const deleteQuote = () => useEngine().deleteQuote(props.quote.id)
font-size: 24px;
text-align: center;
cursor: default;
}
&__container:hover &__action-buttons {
visibility: visible;
}
&__action-buttons {
visibility: hidden;
position: absolute;
right: -28px;
top: -24px;