From bd09fc22312be9fd7df79275d1037609ac08317f Mon Sep 17 00:00:00 2001 From: Timo <16718859+toger5@users.noreply.github.com> Date: Fri, 19 Nov 2021 11:57:35 +0100 Subject: [PATCH] Remove chevrons from RoomSummaryCard_Button (#7137) Co-authored-by: J. Ryan Stinnett --- res/css/views/right_panel/_BaseCard.scss | 17 +---------------- res/css/views/right_panel/_RoomSummaryCard.scss | 11 ++++++----- 2 files changed, 7 insertions(+), 21 deletions(-) diff --git a/res/css/views/right_panel/_BaseCard.scss b/res/css/views/right_panel/_BaseCard.scss index bed4c68142..0ef7db404d 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; @@ -120,21 +120,6 @@ limitations under the License. background-color: rgba(141, 151, 165, 0.1); } - &::after { - content: ''; - position: absolute; - top: 10px; - right: 6px; - height: 20px; - width: 20px; - mask-repeat: no-repeat; - mask-position: center; - background-color: $icon-button-color; - transform: rotate(270deg); - mask-size: 20px; - mask-image: url('$(res)/img/feather-customised/chevron-down.svg'); - } - &.mx_AccessibleButton_disabled { padding-right: 12px; &::after { diff --git a/res/css/views/right_panel/_RoomSummaryCard.scss b/res/css/views/right_panel/_RoomSummaryCard.scss index bb3638c475..9c93a885c5 100644 --- a/res/css/views/right_panel/_RoomSummaryCard.scss +++ b/res/css/views/right_panel/_RoomSummaryCard.scss @@ -170,21 +170,22 @@ limitations under the License. } .mx_RoomSummaryCard_app_pinToggle { - right: 24px; + right: 8px; &::before { mask-image: url('$(res)/img/element-icons/room/pin-upright.svg'); } } .mx_RoomSummaryCard_app_maximise { - right: 48px; + right: 32px; //24 + 8 + &::before { mask-size: 14px; mask-image: url("$(res)/img/element-icons/maximise-expand.svg"); } } .mx_RoomSummaryCard_app_minimise { - right: 48px; + right: 32px; //24 + 8 &::before { mask-size: 14px; mask-image: url("$(res)/img/element-icons/minimise-collapse.svg"); @@ -193,14 +194,14 @@ limitations under the License. } .mx_RoomSummaryCard_app_options { - right: 48px; + right: 32px; //24 + 8 display: none; &::before { mask-image: url('$(res)/img/element-icons/room/ellipsis.svg'); } &.mx_RoomSummaryCard_maximised_widget { - right: 72px; + right: 56px; //2*24 + 8 } }