Skip to content

Commit

Permalink
Text-overflow for description added
Browse files Browse the repository at this point in the history
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
tarungarg546 committed Jul 2, 2016
1 parent 3e5db1a commit 2f9f2d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion assets/css/main.css
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2f9f2d6

Please sign in to comment.