mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-27 03:09:11 -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.
62 lines
916 B
SCSS
62 lines
916 B
SCSS
%sms-message-wrapper,
|
|
.sms-message-wrapper {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: $gutter-half;
|
|
background: $panel-colour;
|
|
border: 1px solid $panel-colour;
|
|
border-radius: 5px;
|
|
white-space: normal;
|
|
margin: 0 0 $gutter 0;
|
|
clear: both;
|
|
}
|
|
|
|
.sms-message-wrapper-with-radio {
|
|
@extend %sms-message-wrapper;
|
|
padding-left: 45px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sms-message-recipient {
|
|
@include copy-19;
|
|
color: $secondary-text-colour;
|
|
margin: -20px 0 $gutter 0;
|
|
}
|
|
|
|
.sms-message-name {
|
|
@include bold-19;
|
|
margin: 20px 0 10px 0;
|
|
}
|
|
|
|
.sms-message-picker {
|
|
display: block;
|
|
margin: 7px 0 0 0;
|
|
position: absolute;
|
|
left: 15px;
|
|
top: 50%;
|
|
z-index: 50;
|
|
}
|
|
|
|
.sms-message-use-links {
|
|
|
|
@include copy-19;
|
|
margin-top: 52px;
|
|
|
|
a {
|
|
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
|
|
&:first-child {
|
|
@include bold-19;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.sms-message-from {
|
|
@include bold-19;
|
|
display: block;
|
|
}
|