feat(ui): show full room name in tooltip

This commit is contained in:
Jeremy Kahn 2023-11-23 15:23:20 -06:00 committed by Jeremy Kahn
parent b9ec16ad4d
commit 826f53fb45

View File

@ -104,7 +104,7 @@ export const ShellAppBar = ({
sx={{ sx={{
display: 'flex', display: 'flex',
flexDirection: 'row', flexDirection: 'row',
justifyContent: 'space-between', justifyContent: 'right',
}} }}
> >
{isEmbedded ? null : ( {isEmbedded ? null : (
@ -119,14 +119,21 @@ export const ShellAppBar = ({
<Menu /> <Menu />
</IconButton> </IconButton>
)} )}
<Typography
variant="h6" {isEmbedded ? null : (
noWrap <Tooltip title={title}>
component="div" <Typography
sx={{ marginRight: 'auto' }} variant="h6"
> noWrap
{isEmbedded ? '' : title} component="div"
</Typography> sx={{
marginRight: 'auto',
}}
>
{title}
</Typography>
</Tooltip>
)}
{isEmbedded ? null : ( {isEmbedded ? null : (
<> <>
<Tooltip title="Copy current URL"> <Tooltip title="Copy current URL">