mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Improved attachment glyph handling
This commit is contained in:
parent
6b29460bdf
commit
50487af6a7
6 changed files with 18 additions and 23 deletions
|
|
@ -163,7 +163,7 @@ export class AttachmentModel extends AbstractModel {
|
|||
thumbnailStyle() {
|
||||
return this.hasThumbnail()
|
||||
? 'background:url(' + serverRequestRaw('ViewThumbnail', this.download) + ')'
|
||||
: '';
|
||||
: null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -100,21 +100,21 @@
|
|||
}
|
||||
*/
|
||||
|
||||
.showPreview, .showPreplay,
|
||||
.showPreview,
|
||||
.hasPreview:hover .iconMain,
|
||||
.hasPreplay:hover .iconMain,
|
||||
.hasPreview .hidePreview,
|
||||
.hasPreplay .hidePreview {
|
||||
.hasPreview .hidePreview {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.hasPreview:hover .iconPreview,
|
||||
.hasPreplay:hover .iconPreview {
|
||||
.hasPreview:hover .iconPreview {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.hasPreview .showPreview,
|
||||
.hasPreplay .showPreplay {
|
||||
.hasPreplay:hover .iconMain::before {
|
||||
content: "▶";
|
||||
}
|
||||
|
||||
.hasPreview .showPreview {
|
||||
display: inline;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue