diff --git a/ts/components/conversation/ConversationHeader.tsx b/ts/components/conversation/ConversationHeader.tsx index 8aee1d9d2..877a948b3 100644 --- a/ts/components/conversation/ConversationHeader.tsx +++ b/ts/components/conversation/ConversationHeader.tsx @@ -363,22 +363,20 @@ export const ConversationHeaderWithDetails = () => { + {!isKickedFromGroup && } - {!isKickedFromGroup && } {!isSelectionMode && ( - - - - { - dispatch(openRightPanel()); - }} - pubkey={selectedConvoKey} - showBackButton={isMessageDetailOpened} - /> - - + + + { + dispatch(openRightPanel()); + }} + pubkey={selectedConvoKey} + showBackButton={isMessageDetailOpened} + /> + )} @@ -389,13 +387,7 @@ export const ConversationHeaderWithDetails = () => { ); }; -export const RelativePositionAnchor = styled.div` - position: relative; -`; - export const ConversationHeaderButtonContainer = styled.div` - position: absolute; - transform: translate(-100%, -50%); display: flex; flex-direction: row; align-items: center;