mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
WIP: Added attachmentListSimple for #672
This is not optional yet and off.
This commit is contained in:
parent
4a0a6c80fc
commit
58e9ebc37b
4 changed files with 35 additions and 5 deletions
|
|
@ -120,3 +120,22 @@
|
|||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.attachmentListSimple {
|
||||
margin: 0;
|
||||
|
||||
.attachmentItem {
|
||||
min-height: 1em;
|
||||
border: 1px solid var(--border-color);
|
||||
padding: 0 2px;
|
||||
}
|
||||
|
||||
.attachmentName {
|
||||
margin:0;
|
||||
}
|
||||
|
||||
.checkboxAttachment {
|
||||
position: initial;
|
||||
margin-left:.5em;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -95,7 +95,6 @@ html.rl-no-preview-pane {
|
|||
}
|
||||
|
||||
.messageTags {
|
||||
margin-top: 6px;
|
||||
align-items: baseline;
|
||||
display: flex;
|
||||
}
|
||||
|
|
@ -128,7 +127,6 @@ html.rl-no-preview-pane {
|
|||
display: flex;
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.subject {
|
||||
|
|
@ -148,7 +146,7 @@ html.rl-no-preview-pane {
|
|||
}
|
||||
|
||||
.informationShort {
|
||||
margin: 4px 40px 0 0;
|
||||
margin: 0 40px 0 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
|
|
|
|||
|
|
@ -98,6 +98,7 @@ export class MailMessageView extends AbstractViewRight {
|
|||
downloadAsZipLoading: false,
|
||||
showFullInfo: '1' === Local.get(ClientSideKeyNameMessageHeaderFullInfo),
|
||||
moreDropdownTrigger: false,
|
||||
attachmentListSimple: false,
|
||||
|
||||
// viewer
|
||||
viewFromShort: '',
|
||||
|
|
@ -281,7 +282,7 @@ export class MailMessageView extends AbstractViewRight {
|
|||
}
|
||||
}
|
||||
|
||||
el = eqs(event, '.attachmentsPlace .attachmentItem .attachmentNameParent');
|
||||
el = eqs(event, '.attachmentsPlace .attachmentName');
|
||||
if (el) {
|
||||
const attachment = ko.dataFor(el);
|
||||
if (attachment?.linkDownload()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue