fix: copy button text no longer searchable
This commit is contained in:
@ -65,7 +65,7 @@ pre {
|
|||||||
|
|
||||||
.btn-copy {
|
.btn-copy {
|
||||||
transition: opacity 0.3s ease-in-out;
|
transition: opacity 0.3s ease-in-out;
|
||||||
opacity: 0;
|
visibility: hidden !important;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0.25rem;
|
right: 0.25rem;
|
||||||
top: 0.25rem;
|
top: 0.25rem;
|
||||||
@ -105,7 +105,7 @@ pre {
|
|||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
pre:hover .btn-copy {
|
pre:hover .btn-copy {
|
||||||
opacity: 1;
|
visibility: visible !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user