Skip to content

Commit

Permalink
feat(ui): show full room name in tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyckahn committed Nov 23, 2023
1 parent b9ec16a commit 826f53f
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions src/components/Shell/ShellAppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export const ShellAppBar = ({
sx={{
display: 'flex',
flexDirection: 'row',
justifyContent: 'space-between',
justifyContent: 'right',
}}
>
{isEmbedded ? null : (
Expand All @@ -119,14 +119,21 @@ export const ShellAppBar = ({
<Menu />
</IconButton>
)}
<Typography
variant="h6"
noWrap
component="div"
sx={{ marginRight: 'auto' }}
>
{isEmbedded ? '' : title}
</Typography>

{isEmbedded ? null : (
<Tooltip title={title}>
<Typography
variant="h6"
noWrap
component="div"
sx={{
marginRight: 'auto',
}}
>
{title}
</Typography>
</Tooltip>
)}
{isEmbedded ? null : (
<>
<Tooltip title="Copy current URL">
Expand Down

1 comment on commit 826f53f

@vercel
Copy link

@vercel vercel bot commented on 826f53f Nov 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

chitchatter – ./

chitchatter-git-main-jeremyckahn.vercel.app
chitchatter.vercel.app
chitchatter-jeremyckahn.vercel.app

Please sign in to comment.