From a403ae4d4ae3abaef3ed1f2be993d71e42be9ab0 Mon Sep 17 00:00:00 2001 From: Manan Sadana Date: Fri, 22 Sep 2023 04:47:45 +0530 Subject: [PATCH 1/2] Fix: Alignment Fixed --- res/css/views/right_panel/_RoomSummaryCard.pcss | 8 +++++++- 1 file changed, 7 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; } } From 9683d4653e9810839cdefed0b609492922b0ba78 Mon Sep 17 00:00:00 2001 From: Manan Sadana Date: Fri, 22 Sep 2023 05:11:37 +0530 Subject: [PATCH 2/2] Fix: Pinned Widget also aligned --- res/css/views/rooms/_AppsDrawer.pcss | 3 +++ 1 file changed, 3 insertions(+) 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; } }