Limit the width for displaying project clone commands

Clone commands are shown as a CopyableLabels so that users can easily
copy them to the clipboard. This means that they do not need to be
fully shown.

The clone with commit-msg hook command can be very long, e.g. on
gerrit-review it runs out of the screen and users need to scroll to
the right to find the copy-to-clipboard icon.

Change-Id: Id9f463cb784f17dac357310ce365f255dba493b2
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin
2015-06-29 16:07:41 +02:00
parent 59b0d8bf71
commit 57ab42c1e8

View File

@@ -942,7 +942,14 @@ a:hover.downloadLink {
margin-right: 0.5em;
}
.downloadLinkCopyLabel .gwt-TextBox {
width: 30em;
width: 40em;
}
.downloadLinkCopyLabel span {
width: 40em;
white-space: nowrap;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
}
/** UnifiedScreen **/