mirror of
https://github.com/moparisthebest/mail
synced 2025-01-31 07:00:17 -05:00
Fix editor input field and content-editable on iOS
This commit is contained in:
parent
c4e2f66172
commit
cb60995ce1
@ -7,7 +7,6 @@
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
border-radius: ($line-height-base * $label-font-size) + 2 * $label-padding-vertical;
|
border-radius: ($line-height-base * $label-font-size) + 2 * $label-padding-vertical;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
user-select: none;
|
|
||||||
background-color: $label-back-color;
|
background-color: $label-back-color;
|
||||||
color: $label-color;
|
color: $label-color;
|
||||||
transition: background-color 0.3s;
|
transition: background-color 0.3s;
|
||||||
|
@ -141,6 +141,7 @@
|
|||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
user-select: text;
|
||||||
|
|
||||||
*[contentEditable] {
|
*[contentEditable] {
|
||||||
outline: 0px;
|
outline: 0px;
|
||||||
|
@ -14,19 +14,19 @@
|
|||||||
<p field="to">
|
<p field="to">
|
||||||
<label>To:</label>
|
<label>To:</label>
|
||||||
<span ng-repeat="recipient in to track by $index">
|
<span ng-repeat="recipient in to track by $index">
|
||||||
<input id="to{{$index}}" value="{{recipient.address}}" ng-model="recipient.address" ng-trim="false" class="label" ng-class="{'label-blank': !recipient.address || recipient.secure === undefined, 'label-primary': recipient.secure === false}" auto-size="recipient.address" spellcheck="false" ng-change="onAddressUpdate(to, $index)" address-input="to" tabindex="1" ng-mouseover="getKeyId(recipient)" focus-me="$index === 0 && state.lightbox === 'write' && writerTitle !== 'Reply'">
|
<input id="to{{$index}}" type="email" value="{{recipient.address}}" ng-model="recipient.address" ng-trim="false" class="label" ng-class="{'label-blank': !recipient.address || recipient.secure === undefined, 'label-primary': recipient.secure === false}" auto-size="recipient.address" spellcheck="false" ng-change="onAddressUpdate(to, $index)" address-input="to" tabindex="1" ng-mouseover="getKeyId(recipient)" focus-me="$index === 0 && state.lightbox === 'write' && writerTitle !== 'Reply'">
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<p field="cc" ng-show="showCC === true">
|
<p field="cc" ng-show="showCC === true">
|
||||||
<label>Cc:</label>
|
<label>Cc:</label>
|
||||||
<span ng-repeat="recipient in cc track by $index">
|
<span ng-repeat="recipient in cc track by $index">
|
||||||
<input id="cc{{$index}}" value="{{recipient.address}}" ng-model="recipient.address" ng-trim="false" class="label" ng-class="{'label-blank': !recipient.address || recipient.secure === undefined, 'label-primary': recipient.secure === false}" auto-size="recipient.address" spellcheck="false" ng-change="onAddressUpdate(cc, $index)" address-input="cc" tabindex="1" ng-mouseover="getKeyId(recipient)">
|
<input id="cc{{$index}}" type="email" value="{{recipient.address}}" ng-model="recipient.address" ng-trim="false" class="label" ng-class="{'label-blank': !recipient.address || recipient.secure === undefined, 'label-primary': recipient.secure === false}" auto-size="recipient.address" spellcheck="false" ng-change="onAddressUpdate(cc, $index)" address-input="cc" tabindex="1" ng-mouseover="getKeyId(recipient)">
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<p field="bcc" ng-show="showBCC === true">
|
<p field="bcc" ng-show="showBCC === true">
|
||||||
<label>Bcc:</label>
|
<label>Bcc:</label>
|
||||||
<span ng-repeat="recipient in bcc track by $index">
|
<span ng-repeat="recipient in bcc track by $index">
|
||||||
<input id="bcc{{$index}}" value="{{recipient.address}}" ng-model="recipient.address" ng-trim="false" class="label" ng-class="{'label-blank': !recipient.address || recipient.secure === undefined, 'label-primary': recipient.secure === false}" auto-size="recipient.address" spellcheck="false" ng-change="onAddressUpdate(bcc, $index)" address-input="bcc" tabindex="1" ng-mouseover="getKeyId(recipient)">
|
<input id="bcc{{$index}}" type="email" value="{{recipient.address}}" ng-model="recipient.address" ng-trim="false" class="label" ng-class="{'label-blank': !recipient.address || recipient.secure === undefined, 'label-primary': recipient.secure === false}" auto-size="recipient.address" spellcheck="false" ng-change="onAddressUpdate(bcc, $index)" address-input="bcc" tabindex="1" ng-mouseover="getKeyId(recipient)">
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
</div><!--/.mail-addresses-->
|
</div><!--/.mail-addresses-->
|
||||||
|
Loading…
Reference in New Issue
Block a user