mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-21 22:54:53 +08: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:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user