From 2e0eb63fe2fb0183af13ab1243a24f97ed74dfa8 Mon Sep 17 00:00:00 2001 From: Manan Sadana Date: Wed, 27 Sep 2023 21:19:07 +0530 Subject: [PATCH] Room avatar alignment fixed --- res/css/views/right_panel/_RoomSummaryCard.pcss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/res/css/views/right_panel/_RoomSummaryCard.pcss b/res/css/views/right_panel/_RoomSummaryCard.pcss index c16d1d0570..ce7004a4c7 100644 --- a/res/css/views/right_panel/_RoomSummaryCard.pcss +++ b/res/css/views/right_panel/_RoomSummaryCard.pcss @@ -41,7 +41,9 @@ limitations under the License. } .mx_RoomSummaryCard_avatar { - display: inline-flex; + display: flex; + justify-content: center; + align-items: center; .mx_RoomSummaryCard_e2ee { display: inline-block; @@ -50,7 +52,6 @@ limitations under the License. height: 54px; border-radius: 50%; background-color: #737d8c; - margin-top: -3px; /* alignment */ margin-left: -10px; /* overlap */ border: 3px solid $dark-panel-bg-color;