From 1896ab67d18c860f97a2cfad2907337c461c1f9b Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Tue, 1 Dec 2015 11:05:11 +0000 Subject: [PATCH] fix room avatar offset --- src/skins/vector/css/atoms/RoomAvatar.css | 1 + src/skins/vector/css/molecules/RoomTile.css | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/skins/vector/css/atoms/RoomAvatar.css b/src/skins/vector/css/atoms/RoomAvatar.css index 70a61eeb..f005b251 100644 --- a/src/skins/vector/css/atoms/RoomAvatar.css +++ b/src/skins/vector/css/atoms/RoomAvatar.css @@ -15,6 +15,7 @@ limitations under the License. */ .mx_RoomAvatar { + vertical-align: middle; } .mx_RoomAvatar_initial { diff --git a/src/skins/vector/css/molecules/RoomTile.css b/src/skins/vector/css/molecules/RoomTile.css index 237c8092..5b8a2a9d 100644 --- a/src/skins/vector/css/molecules/RoomTile.css +++ b/src/skins/vector/css/molecules/RoomTile.css @@ -25,12 +25,12 @@ limitations under the License. display: table-cell; padding-right: 8px; padding-top: 4px; - padding-bottom: 2px; + padding-bottom: 4px; padding-left: 18px; - vertical-align: middle; width: 24px; height: 24px; position: relative; + vertical-align: middle; } .mx_RoomTile_avatar img {