fixing different sizing

This commit is contained in:
talksik
2022-05-31 06:09:05 -05:00
parent 15e90d39c7
commit c36017c106
2 changed files with 10 additions and 5 deletions
@@ -2,6 +2,7 @@ import {
Avatar, Avatar,
AvatarGroup, AvatarGroup,
Box, Box,
Button,
Container, Container,
Fab, Fab,
IconButton, IconButton,
@@ -103,9 +104,8 @@ export default function ConversationDetails() {
background: 'white', background: 'white',
}} }}
> >
<Typography variant="h6">{`Ready?!`}</Typography> <Typography variant="h6">{`Let's get started!`}</Typography>
<Typography variant="caption">Get the party started!</Typography> <Button variant="text">Click here to learn the controls!</Button>
<Typography variant="caption">Look at the controls at the bottom right!</Typography>
</Container> </Container>
); );
} }
@@ -20,6 +20,7 @@ import { useKeyPressEvent, useRendersCount } from 'react-use';
import Conversation from '@nirvana/core/src/models/conversation.model'; import Conversation from '@nirvana/core/src/models/conversation.model';
import ConversationLabel from '../subcomponents/ConversationLabel'; import ConversationLabel from '../subcomponents/ConversationLabel';
import { FaRocket } from 'react-icons/fa';
import KeyboardShortcutLabel from './KeyboardShortcutLabel'; import KeyboardShortcutLabel from './KeyboardShortcutLabel';
import { SUPPORT_DISPLAY_NAME } from '../util/support'; import { SUPPORT_DISPLAY_NAME } from '../util/support';
import useAuth from '../providers/AuthProvider'; import useAuth from '../providers/AuthProvider';
@@ -63,7 +64,7 @@ export function ConversationList({ lookingForSomeone = false }: { lookingForSome
<List <List
subheader={ subheader={
<ListSubheader> <ListSubheader>
<FiActivity /> <FaRocket />
<Typography variant="subtitle2"> Priority</Typography> <Typography variant="subtitle2"> Priority</Typography>
</ListSubheader> </ListSubheader>
} }
@@ -144,7 +145,11 @@ export function ConversationRow({
</Box> </Box>
)} )}
<Stack direction={'row'} spacing={1} sx={{ ml: 2, mr: 'auto', color: 'GrayText' }}> <Stack
direction={'row'}
spacing={1}
sx={{ ml: 2, mr: 'auto', color: 'GrayText', overflow: 'auto' }}
>
{keyboardShortcut && <KeyboardShortcutLabel label={keyboardShortcut.toString()} />} {keyboardShortcut && <KeyboardShortcutLabel label={keyboardShortcut.toString()} />}
<ConversationLabel <ConversationLabel
users={conversation.userCache ?? []} users={conversation.userCache ?? []}