mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-01 19:56:41 +00:00
Dashboard - Show on Hover: Code Copy Button (#329)
This commit is contained in:
parent
b83560401a
commit
bc300b6540
@ -30,9 +30,17 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
.copy-button {
|
.copy-button {
|
||||||
|
transition: all 300ms;
|
||||||
|
opacity: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 8px;
|
top: 8px;
|
||||||
right: 8px;
|
right: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
.copy-button {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user