pairdrop-cli: add fallback if navigator.clipboard.readText() is not available

This commit is contained in:
schlagmichdoch 2023-03-06 02:18:07 +01:00
parent c3863a9dd3
commit fdf024f378
6 changed files with 140 additions and 74 deletions

View file

@ -817,10 +817,29 @@ x-dialog .dialog-subheader {
margin: auto -24px;
}
#base64-paste-btn {
#base64-paste-btn,
#base64-paste-dialog .textarea {
width: 100%;
height: 40vh;
border: solid 12px #438cff;
text-align: center;
}
#base64-paste-dialog .textarea {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
}
#base64-paste-dialog .textarea::before {
font-size: 15px;
letter-spacing: 0.12em;
color: var(--primary-color);
font-weight: 700;
text-transform: uppercase;
content: attr(placeholder);
}
#base64-paste-dialog button {