From 6feb77e7dc07a63ab422e1eaa4e5880f6674ac09 Mon Sep 17 00:00:00 2001 From: Scott Feeney Date: Mon, 5 Aug 2013 14:43:57 -0400 Subject: [PATCH] Fix oversized gravatars in in-app notifications Bug was introduced by 9152e6e128e0ac38d97d893cb8243e3b9185351b, which requests gravatars at 2x size (for retina displays). They are now 25px, which is a little on the small side, but will do for now. Properly centered. (imported from commit 769b71101d62206cde1341b9b6b11fbb7925ae28) --- static/styles/zulip.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/static/styles/zulip.css b/static/styles/zulip.css index d2c5f062f5..6092ca3c2d 100644 --- a/static/styles/zulip.css +++ b/static/styles/zulip.css @@ -1774,6 +1774,13 @@ table.floating_recipient { height: 35px; } +.notifications-gravatar img { + max-width: 25px; + max-height: 25px; + padding-left: 4px; + padding-top: 4px; +} + #notifications-bar { z-index: 9000; position: absolute;