From 0e5ab5c2b6453e3e7922568dd83d1469ebb1e18b Mon Sep 17 00:00:00 2001 From: Timo K Date: Tue, 16 Nov 2021 11:14:50 +0100 Subject: [PATCH] remove padding for BaseCard button this fixes the margin for the number of ppl in a room --- res/css/views/right_panel/_BaseCard.scss | 2 +- res/css/views/right_panel/_RoomSummaryCard.scss | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/res/css/views/right_panel/_BaseCard.scss b/res/css/views/right_panel/_BaseCard.scss index 646d83ea0b1..a2d3f5e9528 100644 --- a/res/css/views/right_panel/_BaseCard.scss +++ b/res/css/views/right_panel/_BaseCard.scss @@ -99,7 +99,7 @@ limitations under the License. } .mx_BaseCard_Button { - padding: 10px 32px 10px 12px; + padding: 10px 10px 10px 12px; margin: 0; position: relative; font-size: $font-13px; diff --git a/res/css/views/right_panel/_RoomSummaryCard.scss b/res/css/views/right_panel/_RoomSummaryCard.scss index 403abbb9499..9c93a885c5f 100644 --- a/res/css/views/right_panel/_RoomSummaryCard.scss +++ b/res/css/views/right_panel/_RoomSummaryCard.scss @@ -177,7 +177,7 @@ limitations under the License. } } .mx_RoomSummaryCard_app_maximise { - right: 34px; //24 + 8 + right: 32px; //24 + 8 &::before { mask-size: 14px; @@ -185,7 +185,7 @@ limitations under the License. } } .mx_RoomSummaryCard_app_minimise { - right: 34px; //24 + 8 + right: 32px; //24 + 8 &::before { mask-size: 14px; mask-image: url("$(res)/img/element-icons/minimise-collapse.svg"); @@ -194,14 +194,14 @@ limitations under the License. } .mx_RoomSummaryCard_app_options { - right: 34px; //24 + 8 + right: 32px; //24 + 8 display: none; &::before { mask-image: url('$(res)/img/element-icons/room/ellipsis.svg'); } &.mx_RoomSummaryCard_maximised_widget { - right: 54px; //2*24 + 8 + right: 56px; //2*24 + 8 } }