From 4bcb27554592b292d3e116f42c468f62ac51b917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Mon, 21 Dec 2020 00:27:06 -0500 Subject: Prevent text overflow in comments --- youtube/static/watch.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'youtube/static') diff --git a/youtube/static/watch.css b/youtube/static/watch.css index 697961d..1769d49 100644 --- a/youtube/static/watch.css +++ b/youtube/static/watch.css @@ -522,7 +522,11 @@ label[for=options-toggle-cbox] { .author-avatar { grid-area: author-avatar; } .author-name { grid-area: author-name; } .permalink { grid-area: permalink; } -.comment-text { grid-area: comment-text; } +.comment-text { + grid-area: comment-text; + overflow: hidden; + text-overflow: ellipsis; +} .comment-likes { grid-area: comment-likes; } .button-row { grid-area: button-row; } -- cgit v1.2.3