chat input now always sits at the bottom of the chat; has a divider

This commit is contained in:
Carter 2024-12-06 13:30:09 -06:00
parent c31712464b
commit 30f0d671af
5 changed files with 35 additions and 106 deletions

View file

@ -8,6 +8,7 @@ import { Team, teamScope, User } from "models";
// import { useSnackbar } from "notistack";
import PageContainer from "pages/PageContainer";
import { getContextKeys, getContextTypes } from "pbHelpers/Context";
import { pond } from "protobuf-ts/pond";
import { useSnackbar, useTeamAPI, useUserAPI } from "providers";
import { useEffect, useState } from "react";
import { useLocation, useParams } from 'react-router-dom';
@ -225,7 +226,7 @@ export default function TeamPage() {
<Grid2 container spacing={1}>
<Grid2 size={{ xs: 12, sm: 6 }}>
<Card className={ isMobile ? classes.cardMobile : classes.card }>
<Chat objectKey={team.key()} />
<Chat objectKey={team.key()} type={pond.NoteType.NOTE_TYPE_TEAM}/>
</Card>
</Grid2>
<Grid2 size={{ xs: 12, sm: 6 }}>