mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-21 22:50:59 -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;
|
||||
}>`
|
||||
height: 100%;
|
||||
width: 236px;
|
||||
width: 232px;
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
flex-direction: column;
|
||||
|
|
|
@ -32,7 +32,7 @@ interface Props {
|
|||
|
||||
const ServerBase = styled.div`
|
||||
height: 100%;
|
||||
width: 236px;
|
||||
width: 232px;
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
flex-direction: column;
|
||||
|
|
|
@ -62,7 +62,7 @@ export default function App() {
|
|||
}
|
||||
rightPanel={
|
||||
!inSpecial && inChannel
|
||||
? { width: 240, component: <RightSidebar /> }
|
||||
? { width: 236, component: <RightSidebar /> }
|
||||
: undefined
|
||||
}
|
||||
bottomNav={{
|
||||
|
|
|
@ -199,6 +199,12 @@
|
|||
margin: 14px 0;
|
||||
}
|
||||
|
||||
/*a {
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}*/
|
||||
|
||||
h1 {
|
||||
margin: 0;
|
||||
line-height: 1rem;
|
||||
|
|
Loading…
Reference in a new issue