From 1c320e520cc9df05eb254f20e46fbd88f8f0958a Mon Sep 17 00:00:00 2001 From: James Taylor Date: Thu, 5 Jul 2018 02:30:15 -0700 Subject: fix long titles messing up related videos --- youtube/shared.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/youtube/shared.css b/youtube/shared.css index c7c914a..ca39ece 100644 --- a/youtube/shared.css +++ b/youtube/shared.css @@ -166,18 +166,21 @@ address{ display: grid; grid-template-columns: 168px 1fr; grid-column-gap: 5px; - grid-template-rows: 0fr 0fr 0fr 1fr; + grid-template-rows: auto auto auto 1fr; } .small-item .title{ grid-column:2; grid-row:1; margin:0; - + color: #333; font-size: 16px; font-weight: 500; text-decoration:initial; min-width: 0; + + overflow:hidden; + max-height: 3.6em; } .small-item address{ grid-column: 2; -- cgit v1.2.3