Add 'share' button for browsers supporting Web Share API

This commit is contained in:
Matthew Wild
2024-04-30 10:48:51 +01:00
parent 64c6548a48
commit 338ee0b278
9 changed files with 97 additions and 12 deletions

View File

@@ -992,19 +992,18 @@ div.profile-card {
}
}
/* clipboard button */
/* clipboard and share buttons */
.copy-to-clipboard {
.copy-to-clipboard, .share-button {
cursor: pointer;
font-style: normal;
text-decoration: none;
}
body.no-copy .copy-to-clipboard {
body.no-copy .copy-to-clipboard, body.no-share .share-button {
display: none !important;
}
/* magic */
pre.guru-meditation {