mirror of
https://github.com/moparisthebest/mail
synced 2024-11-22 08:52:15 -05:00
Display text body preview in desktop mode
This commit is contained in:
parent
82f02312ea
commit
aaf3743665
@ -265,6 +265,9 @@
|
||||
font-weight: bold;
|
||||
padding-right: 90px; // to make room for time
|
||||
padding-bottom: 8px;
|
||||
& > span {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
&__time {
|
||||
@include scut-truncate;
|
||||
@ -406,12 +409,20 @@
|
||||
display: table-cell;
|
||||
border-bottom: 1px solid $color-border-light;
|
||||
padding: $cell-padding-vertical $cell-padding-horizontal;
|
||||
width: 25%;
|
||||
}
|
||||
&__subject {
|
||||
@include scut-truncate;
|
||||
display: table-cell;
|
||||
border-bottom: 1px solid $color-border-light;
|
||||
padding: $cell-padding-vertical $cell-padding-horizontal;
|
||||
& > strong {
|
||||
font-weight: normal;
|
||||
}
|
||||
& > span {
|
||||
margin-left: 0.5em;
|
||||
color: $color-text-light;
|
||||
}
|
||||
}
|
||||
&__time {
|
||||
display: table-cell;
|
||||
@ -439,6 +450,12 @@
|
||||
.mail-list-entry__name {
|
||||
font-weight: bold;
|
||||
}
|
||||
.mail-list-entry__subject {
|
||||
font-weight: normal;
|
||||
& > strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
&--attachment {
|
||||
.mail-list-entry__attachment > svg {
|
||||
|
@ -52,7 +52,12 @@
|
||||
</li>
|
||||
</ul>
|
||||
<h3 class="mail-list-entry__name">{{email.from[0].name || email.from[0].address}}</h3>
|
||||
<div class="mail-list-entry__subject">{{email.subject || 'No subject'}}</div>
|
||||
<div class="mail-list-entry__subject">
|
||||
<strong>{{email.subject || 'No subject'}}</strong>
|
||||
<span>
|
||||
{{email.body ? email.body.substr(0, 200) : ''}}
|
||||
</span>
|
||||
</div>
|
||||
<div class="mail-list-entry__attachment">
|
||||
<svg><use xlink:href="#icon-attachment" /><title>Attachments</title></svg>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user