fix(mail(css)): limit some text formatting to attachment cards

pull/294/head
Francis Lachapelle 2021-02-08 11:25:05 -05:00
parent 0088b9f7f5
commit 9dcdaedb40
1 changed files with 15 additions and 12 deletions

View File

@ -247,19 +247,22 @@ md-sidenav {
font-weight: $sg-font-regular; font-weight: $sg-font-regular;
} }
// Limit height of attachments card, format content-type labels
.mailer_mailcontent { .mailer_mailcontent {
md-card { .sg-mail-part {
md-card-content { md-card {
padding: $baseline-grid; md-card-content {
p { padding: $baseline-grid;
@extend .md-caption; p {
line-height: $sg-line-height-2; @extend .md-caption;
overflow: hidden; line-height: $sg-line-height-2;
text-overflow: ellipsis; overflow: hidden;
white-space: nowrap; text-overflow: ellipsis;
.sg-label-outline { white-space: nowrap;
border-color: $colorGrey400; .sg-label-outline {
color: $colorGrey600; border-color: $colorGrey400;
color: $colorGrey600;
}
} }
} }
} }