mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-08 01:45:28 +00:00
fix: fixed channel sidebar on mobile
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user