fix: follow mode border for hosts apps (#7642)

This commit is contained in:
Milos Vetesnik 2024-02-01 15:03:15 +01:00 committed by GitHub
parent 4888d9d355
commit 0e0f34edd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,25 +16,20 @@ const FollowMode = ({
onDisconnect, onDisconnect,
}: FollowModeProps) => { }: FollowModeProps) => {
return ( return (
<div style={{ position: "relative" }}> <div className="follow-mode" style={{ width, height }}>
<div className="follow-mode" style={{ width, height }}> <div className="follow-mode__badge">
<div className="follow-mode__badge"> <div className="follow-mode__badge__label">
<div className="follow-mode__badge__label"> Following{" "}
Following{" "} <span
<span className="follow-mode__badge__username"
className="follow-mode__badge__username" title={userToFollow.username}
title={userToFollow.username}
>
{userToFollow.username}
</span>
</div>
<button
onClick={onDisconnect}
className="follow-mode__disconnect-btn"
> >
{CloseIcon} {userToFollow.username}
</button> </span>
</div> </div>
<button onClick={onDisconnect} className="follow-mode__disconnect-btn">
{CloseIcon}
</button>
</div> </div>
</div> </div>
); );