From bbf6778158f25ebcb4b2b8f8421077e01e76715f Mon Sep 17 00:00:00 2001 From: abhishek-01k Date: Wed, 29 May 2024 14:36:46 +0530 Subject: [PATCH] fix: tooltip was not properly aligned Tooltip was not properly aigned in the group Info in UIWeb #1299 --- .../chat/ChatProfile/ChatProfileInfoModal.tsx | 7 +++---- .../components/chat/ChatProfile/PendingMembers.tsx | 12 +++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/packages/uiweb/src/lib/components/chat/ChatProfile/ChatProfileInfoModal.tsx b/packages/uiweb/src/lib/components/chat/ChatProfile/ChatProfileInfoModal.tsx index 22e023da8..42a62b3ff 100644 --- a/packages/uiweb/src/lib/components/chat/ChatProfile/ChatProfileInfoModal.tsx +++ b/packages/uiweb/src/lib/components/chat/ChatProfile/ChatProfileInfoModal.tsx @@ -423,7 +423,6 @@ const GroupInformation = ({
{groupMembers.loading ? ( ` +const PublicEncrypted = styled(Section) <{ alert?: boolean }>` display: flex; flex-direction: row; width: 100%; @@ -1040,7 +1039,7 @@ const AddWalletContainer = styled.div` align-items: center; `; -const ConditionSection = styled(Section)<{ theme: IChatTheme }>` +const ConditionSection = styled(Section) <{ theme: IChatTheme }>` &::-webkit-scrollbar-thumb { background: ${(props) => props.theme.scrollbarColor}; border-radius: 10px; @@ -1053,7 +1052,7 @@ const ConditionSection = styled(Section)<{ theme: IChatTheme }>` } `; -const ScrollSection = styled(Section)<{ theme: IChatTheme }>` +const ScrollSection = styled(Section) <{ theme: IChatTheme }>` &::-webkit-scrollbar-thumb { background: ${(props) => props.theme.scrollbarColor}; border-radius: 10px; diff --git a/packages/uiweb/src/lib/components/chat/ChatProfile/PendingMembers.tsx b/packages/uiweb/src/lib/components/chat/ChatProfile/PendingMembers.tsx index 4c055c718..7f61baccf 100644 --- a/packages/uiweb/src/lib/components/chat/ChatProfile/PendingMembers.tsx +++ b/packages/uiweb/src/lib/components/chat/ChatProfile/PendingMembers.tsx @@ -110,6 +110,7 @@ export const PendingMembers = ({ justifyContent="start" borderRadius="12px" theme={theme} + padding='10px 0 0 0' > {showPendingRequests && pendingMembers && @@ -304,6 +305,7 @@ export const AcceptedMembers = ({ overflow="hidden auto" maxHeight="15rem" theme={theme} + padding='10px 0 0 0' > {acceptedMembers.map((item, index) => ( ` +const ArrowImage = styled(Image) ` margin-left: auto; transform: ${(props) => (props?.setPosition ? 'rotate(0)' : 'rotate(180deg)')}; `; @@ -390,7 +392,7 @@ const Badge = styled.div` font-weight: 700; `; -const ProfileSection = styled(Section)<{ theme: IChatTheme }>` +const ProfileSection = styled(Section) <{ theme: IChatTheme }>` height: fit-content; &::-webkit-scrollbar-thumb { background: transparent;