mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 19:26:04 +03:00
Adjust tooltip side for DecoratedRoomAvatar to not obscure room name (#12079)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
b77e24d56b
commit
42ac2272b2
1 changed files with 5 additions and 1 deletions
|
@ -209,7 +209,11 @@ export default class DecoratedRoomAvatar extends React.PureComponent<IProps, ISt
|
|||
oobData={this.props.oobData}
|
||||
viewAvatarOnClick={this.props.viewAvatarOnClick}
|
||||
/>
|
||||
{icon && <Tooltip label={tooltipText(this.state.icon)!}>{icon}</Tooltip>}
|
||||
{icon && (
|
||||
<Tooltip label={tooltipText(this.state.icon)!} side="bottom">
|
||||
{icon}
|
||||
</Tooltip>
|
||||
)}
|
||||
{badge}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue