mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 13:39:41 -04:00
The email pattern looked a bit shonky when displayed in a narrower column. This commit fixes it by making the email’s metadata (eg subject, from) into a table, which it sort of is. This means that it is more flexible about the size of container in which it sits.
48 lines
676 B
SCSS
48 lines
676 B
SCSS
.email-message {
|
|
|
|
margin-bottom: $gutter;
|
|
|
|
&-name {
|
|
@include bold-19;
|
|
margin: 20px 0 10px 0;
|
|
}
|
|
|
|
&-meta {
|
|
|
|
@include core-19;
|
|
margin: 0;
|
|
|
|
td,
|
|
th {
|
|
@include core-19;
|
|
border-bottom: 0;
|
|
border-top: 1px solid $border-colour;
|
|
}
|
|
|
|
th {
|
|
color: $secondary-text-colour;
|
|
}
|
|
|
|
td {
|
|
width: 99%;
|
|
}
|
|
|
|
}
|
|
|
|
&-from {
|
|
padding-top: 15px;
|
|
border-top: 1px solid $border-colour;
|
|
}
|
|
|
|
&-body {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: $gutter-half 0 0 0;
|
|
margin: 0 0 $gutter 0;
|
|
clear: both;
|
|
border-top: 1px solid $border-colour;
|
|
border-bottom: 1px solid $border-colour;
|
|
}
|
|
|
|
}
|