ChangeScreen2: Add padding to collapsed history

2px above/below each collapsed summary line makes it much easier to
read the text, as the lines blur together less easily to the reader.

With an additional 4px in height available increase the avatar in the
collapsed state to be 20px instead of 16px.  This makes it a bit
easier to resolve some avatar images and identify users.  Position the
avatar over the border in the collapsed state to prevent artifacting
the rounded edge.

Change-Id: I5ba9820a5b084f9193d6faa9b4088d0080d19fa7
This commit is contained in:
Shawn Pearce
2013-11-21 20:05:21 -08:00
parent 100b09dd43
commit f61e5a07d4

View File

@@ -22,6 +22,7 @@ limitations under the License.
.messageBox {
position: relative;
width: 1168px;
padding: 2px 0 2px 0;
border-left: 1px solid #e3e9ff;
border-right: 1px solid #e3e9ff;
border-bottom: 1px solid #e3e9ff;
@@ -36,8 +37,10 @@ limitations under the License.
}
.closed .avatar {
position: absolute;
width: 16px;
height: 16px;
top: 0;
left: -1px;
width: 20px;
height: 20px;
}
.contents {