bunch of nice cleanup of layout

This commit is contained in:
talksik
2022-05-29 14:17:59 -05:00
parent 6b02dda33f
commit 4c69382beb
3 changed files with 104 additions and 110 deletions
@@ -52,9 +52,6 @@ export function ConversationList({ lookingForSomeone = false }: { lookingForSome
return (
<>
<List
sx={{
pt: 2,
}}
subheader={
<ListSubheader>
<FiActivity />
+1 -1
View File
@@ -51,7 +51,7 @@ const Navbar = ({
sx={{
WebkitAppRegion: 'drag',
cursor: 'pointer',
pb: 1,
p: 2,
}}
>
<NirvanaLogo />
+5 -8
View File
@@ -512,13 +512,9 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
backgroundColor: blueGrey[50],
boxShadow: 3,
borderRight: `1px solid ${blueGrey}`,
}}
>
<Stack
direction={'column'}
spacing={1}
sx={{
p: 2,
display: 'flex',
flexDirection: 'column',
}}
>
<Navbar
@@ -527,6 +523,7 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
handleChangeSearchInput={handleChangeSearchInput}
/>
<Box sx={{ p: 2 }}>
{searchVal ? (
<ListPeople people={searchUsersResults} />
) : (
@@ -534,6 +531,7 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
lookingForSomeone={selectedConversationId && !selectedConversation}
/>
)}
</Box>
{/* footer controls */}
<Box
@@ -637,7 +635,6 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
</MenuItem>
</Menu>
</Box>
</Stack>
</Grid>
<MainPanel />