Truncating the description text (with ellipsis) if is greater than footer width
authorThiago Pereira <thiagor@engineer.com>
Thu, 9 Jul 2015 18:50:45 +0000 (15:50 -0300)
committerThiago Pereira <thiagor@engineer.com>
Thu, 9 Jul 2015 18:50:45 +0000 (15:50 -0300)
gitweb.css

index 5fca47a..c57d577 100644 (file)
@@ -162,6 +162,10 @@ td, th {
   display: inline;
   float: left;
   margin-left: 25px;
+  width: 80%;
+  overflow: hidden;
+  white-space: nowrap;
+  text-overflow: ellipsis;
 }
 
 a.rss_logo {