aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-07-05 23:22:10 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-07-05 23:22:10 -0700
commita74c30bb3c779aa37218324094d5a2458c5cfe6a (patch)
tree90afbfde37d3bd96a4aec8f71a6f9aec7d0b498c
parent60fa26f459e8d19fe434ec37fd22fa4f1baa3f29 (diff)
downloadyt-local-a74c30bb3c779aa37218324094d5a2458c5cfe6a.tar.lz
yt-local-a74c30bb3c779aa37218324094d5a2458c5cfe6a.tar.xz
yt-local-a74c30bb3c779aa37218324094d5a2458c5cfe6a.zip
prevent title from overflowing items generally
-rw-r--r--youtube/shared.css17
1 files changed, 15 insertions, 2 deletions
diff --git a/youtube/shared.css b/youtube/shared.css
index ca39ece..432a1a1 100644
--- a/youtube/shared.css
+++ b/youtube/shared.css
@@ -105,15 +105,26 @@ address{
.medium-item{
background-color:#bcbcbc;
+ text-decoration:none;
+ font-size: 12px;
+ color: #767676;
+
display: grid;
align-content: start;
- grid-template-columns: 246px 1fr 0fr;
- grid-template-rows: 0fr 0fr 0fr 0fr 0fr 1fr;
+ grid-template-columns: auto 1fr auto;
+ grid-template-rows: auto auto auto auto auto 1fr;
}
.medium-item .title{
grid-column:2 / span 2;
grid-row:1;
min-width: 0;
+ max-height:3.6em;
+ overflow:hidden;
+
+ color: #333;
+ font-size: 16px;
+ font-weight: 500;
+ text-decoration:initial;
}
.medium-item address{
display:inline;
@@ -131,6 +142,8 @@ address{
.medium-item .stats{
grid-column: 2 / span 2;
grid-row: 2;
+ max-height:2.4em;
+ overflow:hidden;
}
.medium-item .description{