Skip to content

Commit

Permalink
fix(mail(css)): limit some text formatting to attachment cards
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Feb 8, 2021
1 parent 0088b9f commit 9dcdaed
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions UI/WebServerResources/scss/views/MailerUI.scss
Original file line number Diff line number Diff line change
Expand Up @@ -247,19 +247,22 @@ md-sidenav {
font-weight: $sg-font-regular;
}

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

0 comments on commit 9dcdaed

Please sign in to comment.