mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-22 07:46:17 -04:00
Increase text input font size to 16px to prevent automatic zooming on iOS devices; Remove spellcheck and autocapitalize prevention and change receive text style
This commit is contained in:
parent
ddeafd1b46
commit
f53832ead1
4 changed files with 21 additions and 14 deletions
|
@ -434,7 +434,7 @@ class PeerUI {
|
|||
<div class="name font-subheading"></div>
|
||||
<div class="device-name font-body2"></div>
|
||||
<div class="status font-body2"></div>
|
||||
<span class="connection-hash font-body2" dir="ltr" title="${ Localization.getTranslation("peer-ui.connection-hash") }"></span>
|
||||
<div class="connection-hash font-body2" dir="ltr" title="${ Localization.getTranslation("peer-ui.connection-hash") }"></div>
|
||||
</div>
|
||||
</label>`;
|
||||
|
||||
|
@ -1796,6 +1796,8 @@ class SendTextDialog extends Dialog {
|
|||
_onChange(e) {
|
||||
if (this._textInputEmpty()) {
|
||||
this.$submit.setAttribute('disabled', '');
|
||||
// remove remaining whitespace on Firefox on text deletion
|
||||
this.$text.innerText = "";
|
||||
} else {
|
||||
this.$submit.removeAttribute('disabled');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue