mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-11-17 14:31:25 +08:00
Fix PopupsIdentity layout
This commit is contained in:
parent
ac7370103e
commit
c46d4b8c02
5 changed files with 13 additions and 26 deletions
|
|
@ -2,10 +2,6 @@
|
|||
|
||||
max-width: 660px;
|
||||
|
||||
.modal-body {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.information {
|
||||
display: inline-block;
|
||||
background-color: #ddd;
|
||||
|
|
|
|||
|
|
@ -2,14 +2,9 @@
|
|||
|
||||
max-width: 770px;
|
||||
|
||||
.modal-body {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.e-signature-place {
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 3px;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
.textEmail {
|
||||
|
|
|
|||
|
|
@ -148,10 +148,13 @@ Secondly, we can't rely on MUA's what to do with :empty
|
|||
white-space: pre-wrap;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.squire-mode-wysiwyg .squire-plain,
|
||||
.squire-mode-plain .squire-wysiwyg,
|
||||
.squire-mode-plain .btn-group:not(#squire-toolgroup-mode) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.squire-mode-plain .squire-plain {
|
||||
display: block;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -255,10 +255,7 @@ trait Accounts
|
|||
$order = \json_decode($orderString, true) ?? [];
|
||||
if (isset($order['Identities']) && \is_array($order['Identities']) && 1 < \count($order['Identities'])) {
|
||||
$list = \array_map(function ($item) {
|
||||
if ('' === $item) {
|
||||
$item = '---';
|
||||
}
|
||||
return $item;
|
||||
return ('' === $item) ? '---' : $item;
|
||||
}, $order['Identities']);
|
||||
|
||||
\usort($identities, function ($a, $b) use ($list) {
|
||||
|
|
|
|||
|
|
@ -65,20 +65,16 @@
|
|||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="form-horizontal">
|
||||
<div class="control-group g-ui-user-select-none">
|
||||
<div class="controls" data-bind="component: {
|
||||
name: 'Checkbox',
|
||||
params: {
|
||||
label: 'POPUPS_IDENTITY/LABEL_SIGNATURE_INSERT_BEFORE',
|
||||
value: signatureInsertBefore
|
||||
}
|
||||
}"></div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<div class="e-signature-place" data-bind="editor: signature"></div>
|
||||
</div>
|
||||
<div class="control-group g-ui-user-select-none">
|
||||
<div class="controls" data-bind="component: {
|
||||
name: 'Checkbox',
|
||||
params: {
|
||||
label: 'POPUPS_IDENTITY/LABEL_SIGNATURE_INSERT_BEFORE',
|
||||
value: signatureInsertBefore
|
||||
}
|
||||
}"></div>
|
||||
</div>
|
||||
<div class="e-signature-place" data-bind="editor: signature"></div>
|
||||
</div>
|
||||
<footer>
|
||||
<a class="btn buttonAddIdentity" data-bind="command: addOrEditIdentityCommand">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue