Adjust tooltip side for DecoratedRoomAvatar to not obscure room name (#12079)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2023-12-21 15:21:37 +00:00 committed by GitHub
parent b77e24d56b
commit 42ac2272b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>
);