diff options
| author | tarungarg546 <tarungarg546@gmail.com> | 2016-07-03 00:43:17 +0530 |
|---|---|---|
| committer | tarungarg546 <tarungarg546@gmail.com> | 2016-07-03 00:43:17 +0530 |
| commit | 2f9f2d60e2729f8b42184a8049b9f540f60c01d4 (patch) | |
| tree | 124944907798142583fe2f975dac881b97da0a4d /assets | |
| parent | github style description if no description provided (diff) | |
| download | githunt-2f9f2d60e2729f8b42184a8049b9f540f60c01d4.tar.gz | |
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
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/css/main.css | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |
