From 2f9f2d60e2729f8b42184a8049b9f540f60c01d4 Mon Sep 17 00:00:00 2001 From: tarungarg546 Date: Sun, 3 Jul 2016 00:43:17 +0530 Subject: [PATCH] Text-overflow for description added Current when description of the repo becomes too long then text would overflow the div we are trying to pertain desc in But with this change we are adding some `webkit` specific multi line text-overflow in `.tagline` class so that now it would show ... when it will overflow --- assets/css/main.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assets/css/main.css b/assets/css/main.css index 77fa37d..52f2cc8 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -145,7 +145,10 @@ div.container { } .content-item p.tagline { - font-weight: normal; + display: -webkit-box; + overflow: hidden; + -webkit-line-clamp: 6; + -webkit-box-orient: vertical; font-size: 13px; line-height: 20px; }