bunch of nice cleanup of layout
This commit is contained in:
@@ -52,9 +52,6 @@ export function ConversationList({ lookingForSomeone = false }: { lookingForSome
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<List
|
<List
|
||||||
sx={{
|
|
||||||
pt: 2,
|
|
||||||
}}
|
|
||||||
subheader={
|
subheader={
|
||||||
<ListSubheader>
|
<ListSubheader>
|
||||||
<FiActivity />
|
<FiActivity />
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ const Navbar = ({
|
|||||||
sx={{
|
sx={{
|
||||||
WebkitAppRegion: 'drag',
|
WebkitAppRegion: 'drag',
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
pb: 1,
|
p: 2,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<NirvanaLogo />
|
<NirvanaLogo />
|
||||||
|
|||||||
@@ -512,13 +512,9 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
|
|||||||
backgroundColor: blueGrey[50],
|
backgroundColor: blueGrey[50],
|
||||||
boxShadow: 3,
|
boxShadow: 3,
|
||||||
borderRight: `1px solid ${blueGrey}`,
|
borderRight: `1px solid ${blueGrey}`,
|
||||||
}}
|
|
||||||
>
|
display: 'flex',
|
||||||
<Stack
|
flexDirection: 'column',
|
||||||
direction={'column'}
|
|
||||||
spacing={1}
|
|
||||||
sx={{
|
|
||||||
p: 2,
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Navbar
|
<Navbar
|
||||||
@@ -527,6 +523,7 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
|
|||||||
handleChangeSearchInput={handleChangeSearchInput}
|
handleChangeSearchInput={handleChangeSearchInput}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<Box sx={{ p: 2 }}>
|
||||||
{searchVal ? (
|
{searchVal ? (
|
||||||
<ListPeople people={searchUsersResults} />
|
<ListPeople people={searchUsersResults} />
|
||||||
) : (
|
) : (
|
||||||
@@ -534,6 +531,7 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
|
|||||||
lookingForSomeone={selectedConversationId && !selectedConversation}
|
lookingForSomeone={selectedConversationId && !selectedConversation}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
</Box>
|
||||||
|
|
||||||
{/* footer controls */}
|
{/* footer controls */}
|
||||||
<Box
|
<Box
|
||||||
@@ -637,7 +635,6 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
|
|||||||
</MenuItem>
|
</MenuItem>
|
||||||
</Menu>
|
</Menu>
|
||||||
</Box>
|
</Box>
|
||||||
</Stack>
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<MainPanel />
|
<MainPanel />
|
||||||
|
|||||||
Reference in New Issue
Block a user