Fix flex links not overflowing correctly and refactor

This commit is contained in:
Alasdair Smith 2018-09-13 11:15:31 +01:00
parent 6576d95e27
commit 630f15e8ea

View file

@ -58,24 +58,20 @@
} }
.caption { .caption {
// Override ShareLatex template styles // Override ShareLatex template styles
background: none; background: none;
border: none; border: none;
text-align: center; text-align: center;
.description {
font-style: italic;
padding: 5px 0;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
} }
.caption.caption--portals { .caption__description {
height: 50px; font-style: italic;
padding: 5px 0;
.text-overflow();
a {
display: inline;
}
} }
/* Media Queries */ /* Media Queries */