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:
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
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue