Closed brandonhundt closed 7 years ago
I've improved the related link styling on the frontend. If you are able to replace the token that'd be great. This is real basic stuff here.
Frontend-example: https://www.pri.dev/story?id=a67c77270eeb4eba84a95cb165ad1b6d
<div class="entity-embed-container entity-embed-related-link"> <p><strong>{% if embed.displayTitle %}{{ embed.displayTitle }}: {% else %}Related: {% endif %} {% for link in embed.links %}<a href="{{ link.url_path }}">{{ link.title }}</a>{% endfor %}</strong></p> </div>
.entity-embed-related-link { a {display: block; margin-bottom: 5px; font-size: .875em; line-height: 1.3em;} a:only-child {display: inline-block; margin-bottom: 0; line-height: 1.6em; font-size: 1em;} }
@rpeterman-gp Looks good in testing. I'll let you close if you are comfortable with it.
Relates to Issue #346
I've improved the related link styling on the frontend. If you are able to replace the token that'd be great. This is real basic stuff here.
Frontend-example: https://www.pri.dev/story?id=a67c77270eeb4eba84a95cb165ad1b6d
TWIG:
CSS: