diff options
| author | 2020-01-17 08:11:05 +0100 | |
|---|---|---|
| committer | 2020-01-17 08:11:05 +0100 | |
| commit | 8eabc068c900c96cb06c2403414c3e0bf9387f34 (patch) | |
| tree | 2247b4178da4a4e3d7305955ef10c088825a520e /app | |
| parent | 68863fbac8d0f9346eb3de17b079c84d5ead1b6c (diff) | |
fix: #2701 Fix look of authors (#2771)
This fix makes the authors part of the "title item", so it's not
considered as another block. This is not perfect since authors will
disappear on small screens, but we can discuss of putting titles on
multi-lines (see https://github.com/FreshRSS/FreshRSS/issues/2344)
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/helpers/index/normal/entry_header.phtml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/helpers/index/normal/entry_header.phtml b/app/views/helpers/index/normal/entry_header.phtml index 3d25301fa..2bc51e54c 100644 --- a/app/views/helpers/index/normal/entry_header.phtml +++ b/app/views/helpers/index/normal/entry_header.phtml @@ -28,9 +28,9 @@ } } ?><li class="item website"><a href="<?= _url('index', 'index', 'get', 'f_' . $this->feed->id()) ?>"><img class="favicon" src="<?= $this->feed->favicon() ?>" alt="✇" /> <span><?= $this->feed->name() ?></span></a></li> - <li class="item title" dir="auto"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>"><?= $this->entry->title() ?></a><?php + <li class="item title" dir="auto"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>"><?= $this->entry->title() ?><?php if ($topline_display_authors): - ?><div class="item author"><?php + ?><span class="author"><?php $authors = $this->entry->authors(); if (is_array($authors)) { $first = true; @@ -39,9 +39,9 @@ $first = false; } } - ?></div><?php + ?></span><?php endif; - ?></li> + ?></a></li> <?php if ($topline_date) { ?><li class="item date"><?= $this->entry->date() ?> </li><?php } ?> <?php if ($topline_link) { ?><li class="item link"><a target="_blank" rel="noreferrer" href="<?= $this->entry->link() ?>"><?= _i('link') ?></a></li><?php } ?> </ul> |
