From 5d259dda9f0bdfdf2b9b3f3fb414cb83a4fc2972 Mon Sep 17 00:00:00 2001 From: Michael Zhou Date: Fri, 9 Aug 2013 22:10:51 -0700 Subject: [PATCH] Remove 2px padding on the bottom of comment boxes Since both the avatar and the comment box are 16px tall, the padding adds an extra 2px below the avatar. Removed the padding and moved the summary text up 1px so that it doesn't touch the lower border of the comment box. Change-Id: I606d903eba21f5f85d9a60d47d2e6870eb2d6890 --- .../main/java/com/google/gerrit/client/diff/CommentBoxUi.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gerrit-gwtui/src/main/java/com/google/gerrit/client/diff/CommentBoxUi.css b/gerrit-gwtui/src/main/java/com/google/gerrit/client/diff/CommentBoxUi.css index 73de23e73d..36f57b9422 100644 --- a/gerrit-gwtui/src/main/java/com/google/gerrit/client/diff/CommentBoxUi.css +++ b/gerrit-gwtui/src/main/java/com/google/gerrit/client/diff/CommentBoxUi.css @@ -32,7 +32,7 @@ .summary { color: #777; position: absolute; - top: 2px; + top: 1px; left: 120px; width: 408px; overflow: hidden; @@ -51,7 +51,6 @@ .contents { margin-left: 28px; padding-top: 2px; - padding-bottom: 2px; position: relative; } .contents p,