Added max length for bookmark card publisher field (#608)

no issue

- fixed style for bookmark cards with too long publisher field
This commit is contained in:
Peter Zimon 2019-08-27 20:29:48 +02:00 committed by Kevin Ansfield
parent 32d3538f6b
commit c40627256a
3 changed files with 14 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -2033,11 +2033,23 @@ Usage (In Ghost editor):
margin-right: 8px;
}
.kg-bookmark-author {
line-height: 1.5em;
}
.kg-bookmark-author:after {
content: "•";
margin: 0 6px;
}
.kg-bookmark-publisher {
overflow: hidden;
line-height: 1.5em;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 240px;
}
@media (max-width: 500px) {
.post-full-content .kg-bookmark-container {
flex-direction: column;