Fix narrow topbar (#71)
This commit is contained in:
parent
3095396988
commit
a88eb5690f
|
@ -182,11 +182,7 @@ const ChatTopbar = styled.div`
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&.narrow {
|
&.narrow {
|
||||||
position: fixed;
|
|
||||||
top: 0;
|
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 2;
|
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,6 @@ export function NarrowChannels({
|
||||||
}
|
}
|
||||||
|
|
||||||
const ListWrapper = styled.div`
|
const ListWrapper = styled.div`
|
||||||
padding: 82px 18px 18px;
|
padding: 0px 18px 18px;
|
||||||
background: ${({ theme }) => theme.bodyBackgroundColor};
|
background: ${({ theme }) => theme.bodyBackgroundColor};
|
||||||
`;
|
`;
|
||||||
|
|
|
@ -30,6 +30,6 @@ export function NarrowMembers({
|
||||||
}
|
}
|
||||||
|
|
||||||
const ListWrapper = styled.div`
|
const ListWrapper = styled.div`
|
||||||
padding: 82px 18px 18px;
|
padding: 0px 18px 18px;
|
||||||
background: ${({ theme }) => theme.bodyBackgroundColor};
|
background: ${({ theme }) => theme.bodyBackgroundColor};
|
||||||
`;
|
`;
|
||||||
|
|
|
@ -22,7 +22,6 @@ const TopbarWrapper = styled.div`
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: ${({ theme }) => theme.bodyBackgroundColor};
|
background-color: ${({ theme }) => theme.bodyBackgroundColor};
|
||||||
padding: 14px 0;
|
padding: 14px 0;
|
||||||
position: relative;
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const Heading = styled.p`
|
const Heading = styled.p`
|
||||||
|
|
Loading…
Reference in New Issue