Update Terminal.tsx

This commit is contained in:
talksik
2022-05-29 14:13:38 -05:00
parent 749aac7786
commit 6b02dda33f
+2 -15
View File
@@ -512,7 +512,6 @@ 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}`,
position: 'relative',
}} }}
> >
<Stack <Stack
@@ -520,7 +519,6 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
spacing={1} spacing={1}
sx={{ sx={{
p: 2, p: 2,
height: 'inherit',
}} }}
> >
<Navbar <Navbar
@@ -536,14 +534,11 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
lookingForSomeone={selectedConversationId && !selectedConversation} lookingForSomeone={selectedConversationId && !selectedConversation}
/> />
)} )}
</Stack>
{/* footer controls */} {/* footer controls */}
<Box <Box
sx={{ sx={{
top: 'auto', mt: 'auto',
bottom: 0,
position: 'absolute',
borderTop: '1px solid', borderTop: '1px solid',
borderTopColor: blueGrey[100], borderTopColor: blueGrey[100],
@@ -634,15 +629,6 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
transformOrigin={{ horizontal: 'right', vertical: 'top' }} transformOrigin={{ horizontal: 'right', vertical: 'top' }}
anchorOrigin={{ horizontal: 'right', vertical: 'bottom' }} anchorOrigin={{ horizontal: 'right', vertical: 'bottom' }}
> >
<MenuItem>
<Avatar /> Profile
</MenuItem>
<MenuItem>
<Avatar /> My account
</MenuItem>
<Divider />
<MenuItem onClick={logout}> <MenuItem onClick={logout}>
<ListItemIcon> <ListItemIcon>
<FiLogOut /> <FiLogOut />
@@ -651,6 +637,7 @@ export function TerminalProvider({ children }: { children?: React.ReactNode }) {
</MenuItem> </MenuItem>
</Menu> </Menu>
</Box> </Box>
</Stack>
</Grid> </Grid>
<MainPanel /> <MainPanel />