diff --git a/packages/react-chat/src/components/Chat/ChatBody.tsx b/packages/react-chat/src/components/Chat/ChatBody.tsx index 950c722f..d2e6cef1 100644 --- a/packages/react-chat/src/components/Chat/ChatBody.tsx +++ b/packages/react-chat/src/components/Chat/ChatBody.tsx @@ -182,11 +182,7 @@ const ChatTopbar = styled.div` position: relative; &.narrow { - position: fixed; - top: 0; - left: 0; width: 100%; - z-index: 2; } `; diff --git a/packages/react-chat/src/components/NarrowMode/NarrowChannels.tsx b/packages/react-chat/src/components/NarrowMode/NarrowChannels.tsx index c7e5ac01..2d8f89e9 100644 --- a/packages/react-chat/src/components/NarrowMode/NarrowChannels.tsx +++ b/packages/react-chat/src/components/NarrowMode/NarrowChannels.tsx @@ -48,6 +48,6 @@ export function NarrowChannels({ } const ListWrapper = styled.div` - padding: 82px 18px 18px; + padding: 0px 18px 18px; background: ${({ theme }) => theme.bodyBackgroundColor}; `; diff --git a/packages/react-chat/src/components/NarrowMode/NarrowMembers.tsx b/packages/react-chat/src/components/NarrowMode/NarrowMembers.tsx index fb847d44..eb14dc76 100644 --- a/packages/react-chat/src/components/NarrowMode/NarrowMembers.tsx +++ b/packages/react-chat/src/components/NarrowMode/NarrowMembers.tsx @@ -30,6 +30,6 @@ export function NarrowMembers({ } const ListWrapper = styled.div` - padding: 82px 18px 18px; + padding: 0px 18px 18px; background: ${({ theme }) => theme.bodyBackgroundColor}; `; diff --git a/packages/react-chat/src/components/NarrowMode/NarrowTopbar.tsx b/packages/react-chat/src/components/NarrowMode/NarrowTopbar.tsx index 367dbb8d..0924463e 100644 --- a/packages/react-chat/src/components/NarrowMode/NarrowTopbar.tsx +++ b/packages/react-chat/src/components/NarrowMode/NarrowTopbar.tsx @@ -22,7 +22,6 @@ const TopbarWrapper = styled.div` text-align: center; background-color: ${({ theme }) => theme.bodyBackgroundColor}; padding: 14px 0; - position: relative; `; const Heading = styled.p`