aboutsummaryrefslogtreecommitdiffstats
path: root/youtube
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-07-05 02:30:15 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-07-05 02:30:15 -0700
commit1c320e520cc9df05eb254f20e46fbd88f8f0958a (patch)
tree4c1f08ac388b03eaa7aaf18afac634e12a784bd2 /youtube
parent5c4c21bfd33bdf06a49f1d43c60cbb845593f756 (diff)
downloadyt-local-1c320e520cc9df05eb254f20e46fbd88f8f0958a.tar.lz
yt-local-1c320e520cc9df05eb254f20e46fbd88f8f0958a.tar.xz
yt-local-1c320e520cc9df05eb254f20e46fbd88f8f0958a.zip
fix long titles messing up related videos
Diffstat (limited to 'youtube')
-rw-r--r--youtube/shared.css7
1 files 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;