mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Shows copy to clipboard button on mobile
This commit is contained in:
parent
f76b0da4c6
commit
76e267fc71
@ -170,13 +170,6 @@ textarea {
|
|||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 768px) {
|
|
||||||
.snippet .btn {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.snippet .btn {
|
.snippet .btn {
|
||||||
-webkit-transition: opacity 0.3s ease-in-out;
|
-webkit-transition: opacity 0.3s ease-in-out;
|
||||||
-o-transition: opacity 0.3s ease-in-out;
|
-o-transition: opacity 0.3s ease-in-out;
|
||||||
@ -192,6 +185,12 @@ textarea {
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 768px) {
|
||||||
|
.snippet .btn {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.example + .snippet .btn {
|
.example + .snippet .btn {
|
||||||
top: 22px;
|
top: 22px;
|
||||||
right: 2px;
|
right: 2px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user