From 560449676b470c2f932a76a26e59188618836dda Mon Sep 17 00:00:00 2001 From: Manan Sadana Date: Fri, 22 Sep 2023 18:27:07 +0530 Subject: [PATCH] Fix: Alignment Fixed (#11648) * Fix: Alignment Fixed * Fix: Pinned Widget also aligned --------- Co-authored-by: Manan Sadana --- res/css/views/right_panel/_RoomSummaryCard.pcss | 8 +++++++- res/css/views/rooms/_AppsDrawer.pcss | 3 +++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/res/css/views/right_panel/_RoomSummaryCard.pcss b/res/css/views/right_panel/_RoomSummaryCard.pcss index ec3911c17f4..c16d1d05700 100644 --- a/res/css/views/right_panel/_RoomSummaryCard.pcss +++ b/res/css/views/right_panel/_RoomSummaryCard.pcss @@ -122,8 +122,14 @@ limitations under the License. padding: 10px 48px 10px 12px; /* based on typical mx_RoomSummaryCard_Button padding */ text-overflow: ellipsis; overflow: hidden; - + display: flex; + justify-content: center; span { + /* Center aligned and Spacing matched with the About section above the Widgets section */ + margin-right: 10px; + display: flex; + justify-content: center; + align-items: center; color: $primary-content; } } diff --git a/res/css/views/rooms/_AppsDrawer.pcss b/res/css/views/rooms/_AppsDrawer.pcss index da4ae21550a..eeb533c0af6 100644 --- a/res/css/views/rooms/_AppsDrawer.pcss +++ b/res/css/views/rooms/_AppsDrawer.pcss @@ -218,6 +218,9 @@ limitations under the License. > :last-child { margin-left: 9px; + display: flex; + justify-content: center; + align-items: center; } }