mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-25 16:40:58 -05:00
fix: fixed channel sidebar on mobile
This commit is contained in:
parent
9298f205fc
commit
27bc4e74b9
4 changed files with 9 additions and 3 deletions
|
@ -14,7 +14,7 @@ export const GenericSidebarBase = styled.div<{
|
||||||
mobilePadding?: boolean;
|
mobilePadding?: boolean;
|
||||||
}>`
|
}>`
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 236px;
|
width: 232px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
@ -32,7 +32,7 @@ interface Props {
|
||||||
|
|
||||||
const ServerBase = styled.div`
|
const ServerBase = styled.div`
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 236px;
|
width: 232px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
@ -62,7 +62,7 @@ export default function App() {
|
||||||
}
|
}
|
||||||
rightPanel={
|
rightPanel={
|
||||||
!inSpecial && inChannel
|
!inSpecial && inChannel
|
||||||
? { width: 240, component: <RightSidebar /> }
|
? { width: 236, component: <RightSidebar /> }
|
||||||
: undefined
|
: undefined
|
||||||
}
|
}
|
||||||
bottomNav={{
|
bottomNav={{
|
||||||
|
|
|
@ -199,6 +199,12 @@
|
||||||
margin: 14px 0;
|
margin: 14px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*a {
|
||||||
|
&:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}*/
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 1rem;
|
line-height: 1rem;
|
||||||
|
|
Loading…
Reference in a new issue