Limit the heading to one line for desktop clients
Provide the full title using the title attribute (will be shown by on mouse over for desktop browsers).
This commit is contained in:
parent
1fc6f2222c
commit
0c7bcfb65b
@ -857,6 +857,12 @@ html[dir="rtl"] span.items-count:before {
|
||||
.hide-desktop {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.items h2 {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
/* mobile design */
|
||||
|
@ -14,11 +14,13 @@
|
||||
<a class="original" rel="noreferrer" target="_blank"
|
||||
href="<?= $item['url'] ?>"
|
||||
<?= ($original_marks_read) ? 'data-action="mark-read"' : '' ?>
|
||||
title="<?= Helper\escape($item['title']) ?>"
|
||||
><?= Helper\escape($item['title']) ?></a>
|
||||
<?php else: ?>
|
||||
<a
|
||||
href="?action=show&menu=<?= $menu ?><?= isset($group_id) ? '&group_id='.$group_id : '' ?>&id=<?= $item['id'] ?>"
|
||||
class="show"
|
||||
title="<?= Helper\escape($item['title']) ?>"
|
||||
><?= Helper\escape($item['title']) ?></a>
|
||||
<?php endif ?>
|
||||
</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user