From a488207d24f02d7aa5e6f807f89170751bcda36f Mon Sep 17 00:00:00 2001 From: gefgu Date: Thu, 18 Aug 2022 15:30:19 -0300 Subject: [PATCH 1/2] Add border to 'reject' button on room preview card Signed-off-by: gefgu --- res/css/views/rooms/_RoomPreviewCard.pcss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/res/css/views/rooms/_RoomPreviewCard.pcss b/res/css/views/rooms/_RoomPreviewCard.pcss index 255a9633b2f..9f0b49d736e 100644 --- a/res/css/views/rooms/_RoomPreviewCard.pcss +++ b/res/css/views/rooms/_RoomPreviewCard.pcss @@ -131,5 +131,9 @@ limitations under the License. padding: 14px 0; flex-grow: 1; } + + .mx_AccessibleButton_kind_secondary { + border: 2px solid #0dbd8b; + } } } From 8be86929cbd0e9dd7a9a298206387c8543239cd7 Mon Sep 17 00:00:00 2001 From: Gustavo Santos <53129852+gefgu@users.noreply.github.com> Date: Sun, 5 Feb 2023 18:41:10 +0000 Subject: [PATCH 2/2] feat: use correct kind --- res/css/views/rooms/_RoomPreviewCard.pcss | 4 ---- src/components/views/rooms/RoomPreviewCard.tsx | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/res/css/views/rooms/_RoomPreviewCard.pcss b/res/css/views/rooms/_RoomPreviewCard.pcss index 348598dbd5e..b7acfb1a321 100644 --- a/res/css/views/rooms/_RoomPreviewCard.pcss +++ b/res/css/views/rooms/_RoomPreviewCard.pcss @@ -133,9 +133,5 @@ limitations under the License. padding: 14px 0; flex-grow: 1; } - - .mx_AccessibleButton_kind_secondary { - border: 2px solid #0dbd8b; - } } } diff --git a/src/components/views/rooms/RoomPreviewCard.tsx b/src/components/views/rooms/RoomPreviewCard.tsx index 4c0a016f85d..2714bec93ab 100644 --- a/src/components/views/rooms/RoomPreviewCard.tsx +++ b/src/components/views/rooms/RoomPreviewCard.tsx @@ -116,7 +116,7 @@ const RoomPreviewCard: FC = ({ room, onJoinButtonClicked, onRejectButton joinButtons = ( <> { setBusy(true); onRejectButtonClicked();