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>
|
||||||
)}
|
)}
|
||||||
<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">
|
||||||
|
Loading…
Reference in New Issue
Block a user