Permalink
Browse files

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
  • Loading branch information...
1 parent 3e5db1a commit 2f9f2d60e2729f8b42184a8049b9f540f60c01d4 @tarungarg546 tarungarg546 committed Jul 2, 2016
Showing with 4 additions and 1 deletion.
  1. +4 −1 assets/css/main.css
View
@@ -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;
}

0 comments on commit 2f9f2d6

Please sign in to comment.