Add user-select: all for easier copy when the clipboard is not available

This commit is contained in:
Tom Hubrecht 2022-07-27 00:17:50 +02:00
parent 4e63112182
commit 29bce486d2

View file

@ -35,7 +35,7 @@
navigator.clipboard
.writeText(share)
.then(() => (toastText = '<b>Lien de partage copié dans le presse-papier.</b>'))
.catch(() => (toastText = 'Erreur de copie.'))
.catch(() => (toastText = 'Erreur de copie automatique.'))
.finally((isToastOpen = true));
};
</script>
@ -81,6 +81,7 @@
display: block;
overflow-wrap: break-word;
cursor: pointer;
user-select: all;
}
.share-toast {