web: fix summary overflows
fixes #60
    
        | author | Steve Losh <steve@stevelosh.com> | 
    
        | date | Thu, 27 Jan 2011 19:01:49 -0500 | 
    
    
        | parents | f33efe14bff1 | 
    
        | children | e62677ebd73d | 
    
        | branches/tags | (none) | 
    
        | files | review/static/styles/style.less review/templates/index.html | 
Changes
    
--- a/review/static/styles/style.less	Thu Jan 27 18:23:59 2011 -0500
+++ b/review/static/styles/style.less	Thu Jan 27 19:01:49 2011 -0500
@@ -263,6 +263,12 @@
                     overflow: hidden;
                     text-overflow: ellipsis;
                 }
+                &.desc {
+                    a {
+                        display: inline-block;
+                        width: 430px;
+                    }
+                }
                 &.node {
                     padding-left: 0px;
                     width: 110px;
@@ -355,11 +361,16 @@
         position: relative;
 
         h2 {
-            width: 660px;
+            width: 680px;
             color: @c-light;
 
             .desc {
                 color: @c-dark;
+                max-width: 500px;
+                display: inline-block;
+                overflow: hidden;
+                text-overflow: ellipsis;
+                height: 20px;
             }
         }
         .committer-avatar {
--- a/review/templates/index.html	Thu Jan 27 18:23:59 2011 -0500
+++ b/review/templates/index.html	Thu Jan 27 19:01:49 2011 -0500
@@ -22,7 +22,7 @@
                         {% set signoffs = utils['categorize_signoffs'](rcset.signoffs) %}
 
                         {% if comments %}
-                        <a class="badge comments" href="{{ link }}">{{ utils['len'](comments) }} comment{% if utils['len'](comments) > 1 %}s{% endif %}</a>
+                            <a class="badge comments" href="{{ link }}">{{ utils['len'](comments) }} comment{% if utils['len'](comments) > 1 %}s{% endif %}</a>
                         {% endif %}
 
                         {% if signoffs['yes'] %}