diff options
Diffstat (limited to 'src/content')
-rw-r--r-- | src/content/dependencies/generateNewsEntryReadAnotherLinks.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/content/dependencies/generateNewsEntryReadAnotherLinks.js b/src/content/dependencies/generateNewsEntryReadAnotherLinks.js index c97d8150..33c5bda0 100644 --- a/src/content/dependencies/generateNewsEntryReadAnotherLinks.js +++ b/src/content/dependencies/generateNewsEntryReadAnotherLinks.js @@ -88,7 +88,10 @@ export default { html.tag('p', { [html.onlyIfContent]: true, [html.joinChildren]: html.tag('br'), - class: ['read-another-links', 'offset-tooltips'], + class: [ + 'read-another-links', + entryLines.length > 1 && 'offset-tooltips', + ], }, entryLines)); }, }; |