Files
notifications-admin/app/assets/stylesheets/components/email-message.scss
Chris Hill-Scott bc1899e8c0 Make email pattern work in new context
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.
2016-02-24 09:23:38 +00:00

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;
}
}