From 81cd80aea8bfdec1c68ae5082fced1b0a3f5e51d Mon Sep 17 00:00:00 2001 From: Developer Date: Sat, 27 Jun 2026 04:21:22 +0200 Subject: fix: show comment text for HN comment entries on movie page Comments now display as 'Comment: ' with single-line truncation via hn-comment CSS class. Story-type entries still show title. --- resources/views/cinema_show.blade.php | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'resources') diff --git a/resources/views/cinema_show.blade.php b/resources/views/cinema_show.blade.php index c8b0935..bac06e2 100644 --- a/resources/views/cinema_show.blade.php +++ b/resources/views/cinema_show.blade.php @@ -23,6 +23,16 @@ column-gap: 20px; } +.hn-comment { + font-size: 0.875rem; + color: #868e96; + display: -webkit-box; + -webkit-line-clamp: 1; + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; +} + @media (max-width: 768px) { .movie-credits { columns: 1; @@ -124,18 +134,15 @@ @foreach( $actors as $person )
{{ $person->name }}
@endforeach - - - @endif - - @if ( ! empty($hnStories) ) -
-

Hacker News