From 013478b9b7a3a41bf7eeb8dabec2acb45d73bb8e Mon Sep 17 00:00:00 2001 From: Allen Rabinovich Date: Thu, 27 Jun 2013 16:35:19 -0700 Subject: [PATCH] Align username at top of avatar and center messages vertically. (imported from commit 38dbe1888aad1be88608f0a72d7fea8b84dd3e25) --- zephyr/static/styles/zephyr.css | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/zephyr/static/styles/zephyr.css b/zephyr/static/styles/zephyr.css index 53e866c2fd..c8ebc23c15 100644 --- a/zephyr/static/styles/zephyr.css +++ b/zephyr/static/styles/zephyr.css @@ -644,7 +644,9 @@ background-color: #ffe4e0; color: #333; display: inline-block; font-weight: bold; - line-height: 5px; + vertical-align: top; + position: relative; + top: -2px; } .actions_hovered .sender_name { @@ -721,6 +723,10 @@ table.focused_table { display: table; } +.include-sender .message_content { + margin-top: -8px; +} + .message_content { line-height: 18px; padding-left: 35px; @@ -778,7 +784,7 @@ blockquote p { } .messagebox p { - margin-bottom: 6px; + margin: 3px 0px 3px 0px; } .messagebox blockquote { @@ -860,7 +866,7 @@ blockquote p { background-size: 25px 25px; border-radius: 25px; border: 1px solid #CCC; - vertical-align: middle; + vertical-align: top; position: relative; left: -1px; }