From 279ed7384b7195e364660b4275e4c8c793ba1f9e Mon Sep 17 00:00:00 2001 From: Kaustubh Kumar Date: Mon, 6 May 2024 16:29:16 +0530 Subject: [PATCH 1/2] fix: design parity (#2873) * fix: review comments * fix: remove border --- .../src/Prebuilt/components/RoleChangeModal.tsx | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/packages/roomkit-react/src/Prebuilt/components/RoleChangeModal.tsx b/packages/roomkit-react/src/Prebuilt/components/RoleChangeModal.tsx index 6e44439694..0f07e11bda 100644 --- a/packages/roomkit-react/src/Prebuilt/components/RoleChangeModal.tsx +++ b/packages/roomkit-react/src/Prebuilt/components/RoleChangeModal.tsx @@ -56,7 +56,7 @@ const RoleChangeContent = ({ Switch the role of - from + from to - - - - - - + + + + ); }; From c818cab448eba56beef18aa6d87da0b0fa6292b1 Mon Sep 17 00:00:00 2001 From: Kaustubh Kumar Date: Mon, 6 May 2024 18:30:42 +0530 Subject: [PATCH 2/2] fix: add missing portal (#2875) --- .../src/Prebuilt/components/RoleChangeModal.tsx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/roomkit-react/src/Prebuilt/components/RoleChangeModal.tsx b/packages/roomkit-react/src/Prebuilt/components/RoleChangeModal.tsx index 0f07e11bda..db51632aca 100644 --- a/packages/roomkit-react/src/Prebuilt/components/RoleChangeModal.tsx +++ b/packages/roomkit-react/src/Prebuilt/components/RoleChangeModal.tsx @@ -175,10 +175,12 @@ export const RoleChangeModal = ({ return ( - - - - + + + + + + ); };