feat: show quote card action buttons only on hover
This commit is contained in:
parent
5eca70df6a
commit
dac63f9c35
@ -59,9 +59,15 @@ const deleteQuote = () => useEngine().deleteQuote(props.quote.id)
|
|||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
&__container:hover &__action-buttons {
|
||||||
|
visibility: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
&__action-buttons {
|
&__action-buttons {
|
||||||
|
visibility: hidden;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: -28px;
|
right: -28px;
|
||||||
top: -24px;
|
top: -24px;
|
||||||
|
Loading…
Reference in New Issue
Block a user