summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Zhou <taoalpha@google.com>2019-10-24 18:15:19 +0200
committerPaladox none <thomasmulhall410@yahoo.com>2019-10-24 19:58:52 +0000
commit1a405ea61c1dd82b1f26392f3173c3f4193221ba (patch)
treeba1aa1b82192515a6713d4c9562c5f60df62cff4
parent19fc15c53e400897d7f1c30aaaaa7392a21ba14a (diff)
Remove nowrap on file name and reduce the min-width on comments
To give file name more space, also fix the css for ellipsis Change-Id: I1ff2d9789a3018b61234c1b588fa2226da3a3e85 (cherry picked from commit db23784e840a7691481a892f51171c02efd0dc2c)
-rw-r--r--polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html10
1 files changed, 2 insertions, 8 deletions
diff --git a/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html b/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html
index 7378acde6e..2300bb3611 100644
--- a/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html
+++ b/polygerrit-ui/app/elements/change/gr-file-list/gr-file-list.html
@@ -116,16 +116,10 @@ limitations under the License.
cursor: pointer;
flex: 1;
text-decoration: none;
- white-space: nowrap;
}
.path:hover :first-child {
text-decoration: underline;
}
- .path,
- .path div {
- overflow: hidden;
- text-overflow: ellipsis;
- }
.oldPath {
color: var(--deemphasized-text-color);
}
@@ -138,8 +132,8 @@ limitations under the License.
min-width: 7.5em;
}
.comments {
- padding-left: 2em;
- min-width: 20em;
+ padding-left: 1em;
+ min-width: 7.5em;
}
.row:not(.header-row) .stats,
.total-stats {