# HG changeset patch # User Steve Losh # Date 1296172909 18000 # Node ID 4d308e5f132c4008830a811cc9b68d5e0998bb9d # Parent f33efe14bff17112dc47c1ad4225c038d6cedeab web: fix summary overflows fixes #60 diff -r f33efe14bff1 -r 4d308e5f132c review/static/styles/style.less --- 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 { diff -r f33efe14bff1 -r 4d308e5f132c review/templates/index.html --- 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 %} - {{ utils['len'](comments) }} comment{% if utils['len'](comments) > 1 %}s{% endif %} + {{ utils['len'](comments) }} comment{% if utils['len'](comments) > 1 %}s{% endif %} {% endif %} {% if signoffs['yes'] %}