fix: copy button text no longer searchable
This commit is contained in:
parent
0e09981fc8
commit
8fcd777a2d
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue