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 {
|
.hide-desktop {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.items h2 {
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* mobile design */
|
/* mobile design */
|
||||||
|
@ -14,11 +14,13 @@
|
|||||||
<a class="original" rel="noreferrer" target="_blank"
|
<a class="original" rel="noreferrer" target="_blank"
|
||||||
href="<?= $item['url'] ?>"
|
href="<?= $item['url'] ?>"
|
||||||
<?= ($original_marks_read) ? 'data-action="mark-read"' : '' ?>
|
<?= ($original_marks_read) ? 'data-action="mark-read"' : '' ?>
|
||||||
|
title="<?= Helper\escape($item['title']) ?>"
|
||||||
><?= Helper\escape($item['title']) ?></a>
|
><?= Helper\escape($item['title']) ?></a>
|
||||||
<?php else: ?>
|
<?php else: ?>
|
||||||
<a
|
<a
|
||||||
href="?action=show&menu=<?= $menu ?><?= isset($group_id) ? '&group_id='.$group_id : '' ?>&id=<?= $item['id'] ?>"
|
href="?action=show&menu=<?= $menu ?><?= isset($group_id) ? '&group_id='.$group_id : '' ?>&id=<?= $item['id'] ?>"
|
||||||
class="show"
|
class="show"
|
||||||
|
title="<?= Helper\escape($item['title']) ?>"
|
||||||
><?= Helper\escape($item['title']) ?></a>
|
><?= Helper\escape($item['title']) ?></a>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</h2>
|
</h2>
|
||||||
|
Loading…
Reference in New Issue
Block a user