Keith Bourgoin avatar Keith Bourgoin committed 363a18c

Fixing changeset layout issues with either comment or author are long.

Comments (0)

Files changed (2)

review/static/styles/style.less

         h2 {
             width: 680px;
             color: @c-light;
+            float: left;
+
+            a {
+                margin-left: 5px;
+            }
+            span {
+                float: left;
+                margin-left: 5px;
+            }
 
             .desc {
                 color: @c-dark;
-                max-width: 500px;
+                max-width: 645px;
                 display: inline-block;
-                overflow: hidden;
-                text-overflow: ellipsis;
-                height: 20px;
+                margin-bottom: 5px;
             }
         }
         .committer-avatar {

review/templates/changeset.html

         <div class="patch"><a href="/changeset/{{ utils['node_short'](rev.node()) }}/patch/">Download Patch &darr;</a></div>
 
         <h2>
-            {{ rev.rev() }}:
+            <span class="rev">{{ rev.rev() }}:</span>
             <span class="desc">{{ rev.description().splitlines()[0] }}</span>
-            <span class="by">by</span>
-            <a href="mailto:{{ utils['email'](rev.user()) }}">{{ utils['person'](rev.user()) }}</a>
+            <span class="author">
+                by
+                <a href="mailto:{{ utils['email'](rev.user()) }}">{{ utils['person'](rev.user()) }}</a>
+            </span>
         </h2>
 
         {% if utils['len'](rev.description().splitlines()) > 1 %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.