@ -108,12 +108,12 @@ header .profile img {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
button span.hide-on-mobile {
|
.hide-on-mobile {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1020px) {
|
@media (min-width: 1020px) {
|
||||||
button span.hide-on-mobile {
|
.hide-on-mobile {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -26,6 +26,7 @@ import { useCurrentStreamFeed } from "hooks/current-stream-feed";
|
|||||||
import { useStreamLink } from "hooks/stream-link";
|
import { useStreamLink } from "hooks/stream-link";
|
||||||
import { FormattedMessage } from "react-intl";
|
import { FormattedMessage } from "react-intl";
|
||||||
import { useContext } from "react";
|
import { useContext } from "react";
|
||||||
|
import { FollowButton } from "element/follow-button";
|
||||||
|
|
||||||
function ProfileInfo({ ev, goal }: { ev?: NostrEvent; goal?: TaggedNostrEvent }) {
|
function ProfileInfo({ ev, goal }: { ev?: NostrEvent; goal?: TaggedNostrEvent }) {
|
||||||
const system = useContext(SnortContext);
|
const system = useContext(SnortContext);
|
||||||
@ -81,6 +82,9 @@ function ProfileInfo({ ev, goal }: { ev?: NostrEvent; goal?: TaggedNostrEvent })
|
|||||||
<div className="profile-info">
|
<div className="profile-info">
|
||||||
<Profile pubkey={host ?? ""} />
|
<Profile pubkey={host ?? ""} />
|
||||||
<div className="flex g12">
|
<div className="flex g12">
|
||||||
|
<div className="hide-on-mobile" >
|
||||||
|
<FollowButton pubkey={host} />
|
||||||
|
</div>
|
||||||
{ev && (
|
{ev && (
|
||||||
<>
|
<>
|
||||||
<ShareMenu ev={ev} />
|
<ShareMenu ev={ev} />
|
||||||
|
Reference in New Issue
Block a user