Truncate previews of email messages to ~3 lines

Emails can get very long.

When you’re trying to do other things on the page this results in a lot
of scrolling.

This commit truncates email messages to about 3 lines, and adds a JS
toggle which reveal the full contents of the email.
This commit is contained in:
Chris Hill-Scott
2016-04-11 15:16:41 +01:00
parent 33e1b2679f
commit 3a5b76ce2a
8 changed files with 108 additions and 6 deletions

View File

@@ -34,7 +34,7 @@
}
.sms-message-name {
@include bold-19;
@include bold-24;
margin: 20px 0 10px 0;
}
@@ -55,6 +55,12 @@
a {
display: block;
margin-bottom: 5px;
text-decoration: none;
&:hover {
text-decoration: underline;
}
}
}