forked from Shiloh/remnantchat
feat(ui): show full room name in tooltip
This commit is contained in:
parent
b9ec16ad4d
commit
826f53fb45
@ -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>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{isEmbedded ? null : (
|
||||||
|
<Tooltip title={title}>
|
||||||
<Typography
|
<Typography
|
||||||
variant="h6"
|
variant="h6"
|
||||||
noWrap
|
noWrap
|
||||||
component="div"
|
component="div"
|
||||||
sx={{ marginRight: 'auto' }}
|
sx={{
|
||||||
|
marginRight: 'auto',
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{isEmbedded ? '' : title}
|
{title}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
</Tooltip>
|
||||||
|
)}
|
||||||
{isEmbedded ? null : (
|
{isEmbedded ? null : (
|
||||||
<>
|
<>
|
||||||
<Tooltip title="Copy current URL">
|
<Tooltip title="Copy current URL">
|
||||||
|
Loading…
Reference in New Issue
Block a user