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 ( return (
<> <>
<List <List
sx={{
pt: 2,
}}
subheader={ subheader={
<ListSubheader> <ListSubheader>
<FiActivity /> <FiActivity />
+1 -1
View File
@@ -51,7 +51,7 @@ const Navbar = ({
sx={{ sx={{
WebkitAppRegion: 'drag', WebkitAppRegion: 'drag',
cursor: 'pointer', cursor: 'pointer',
pb: 1, p: 2,
}} }}
> >
<NirvanaLogo /> <NirvanaLogo />
+5 -8
View File
@@ -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 />