Reviewing hg-review

 

393: web: fix summary overflows by Steve Losh

web: fix summary overflows fixes #60

No changeset-level comments yet…

Add a comment on this changeset
Post Comment Cancel

Signoffs

No signoffs yet…

Files

cmV2aWV3L3N0YXRpYy9zdHlsZXMvc3R5bGUubGVzcw==

review/static/styles/style.less

Add a comment on this file
Post Comment Cancel
… skipped 260 lines …
260 width: 100%;
261 white-space: nowrap;
262 overflow: hidden;
263 text-overflow: ellipsis;
264 }
265 + &.desc {
266 + a {
267 + display: inline-block;
268 + width: 430px;
269 + }
270 + }
271 &.node {
272 padding-left: 0px;
273 width: 110px;
274
275 .rev {
… skipped 83 lines …
358 }
359 .head {
360 position: relative;
361
362 h2 {
363 - width: 660px;
364 + width: 680px;
365 color: @c-light;
366
367 .desc {
368 color: @c-dark;
369 + max-width: 500px;
370 + display: inline-block;
371 + overflow: hidden;
372 + text-overflow: ellipsis;
373 + height: 20px;
374 }
375 }
376 .committer-avatar {
377 position: absolute;
378 top: -22px;
… skipped 324 lines …
cmV2aWV3L3RlbXBsYXRlcy9pbmRleC5odG1s

review/templates/index.html

Add a comment on this file
Post Comment Cancel
… skipped 19 lines …
19 {% with %}
20 {% set comments = rcset.comments %}
21 {% set signoffs = utils['categorize_signoffs'](rcset.signoffs) %}
22
23 {% if comments %}
24 - <a class="badge comments" href="{{ link }}">{{ utils['len'](comments) }} comment{% if utils['len'](comments) > 1 %}s{% endif %}</a>
25 + <a class="badge comments" href="{{ link }}">{{ utils['len'](comments) }} comment{% if utils['len'](comments) > 1 %}s{% endif %}</a>
26 {% endif %}
27
28 {% if signoffs['yes'] %}
29 <a class="badge signoffs yes" href="{{ link }}">{{ signoffs['yes'] }} yes</a>
30 {% endif %}
… skipped 21 lines …