fix: fixed channel sidebar on mobile

This commit is contained in:
trashtemp 2021-12-20 14:56:37 +01:00
parent 9298f205fc
commit 27bc4e74b9
No known key found for this signature in database
GPG key ID: D1F0DB65081B0FC6
4 changed files with 9 additions and 3 deletions

View file

@ -14,7 +14,7 @@ export const GenericSidebarBase = styled.div<{
mobilePadding?: boolean;
}>`
height: 100%;
width: 236px;
width: 232px;
display: flex;
flex-shrink: 0;
flex-direction: column;

View file

@ -32,7 +32,7 @@ interface Props {
const ServerBase = styled.div`
height: 100%;
width: 236px;
width: 232px;
display: flex;
flex-shrink: 0;
flex-direction: column;

View file

@ -62,7 +62,7 @@ export default function App() {
}
rightPanel={
!inSpecial && inChannel
? { width: 240, component: <RightSidebar /> }
? { width: 236, component: <RightSidebar /> }
: undefined
}
bottomNav={{

View file

@ -199,6 +199,12 @@
margin: 14px 0;
}
/*a {
&:hover {
text-decoration: underline;
}
}*/
h1 {
margin: 0;
line-height: 1rem;