Skip to content

Commit

Permalink
fix stream card buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
hzrd149 committed Dec 7, 2024
1 parent 7a2c030 commit 815affd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/views/streams/components/stream-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ function StreamCard({ stream, ...props }: CardProps & { stream: NostrEvent }) {
</Badge>
)}
</Flex>
<ButtonGroup size="sm" variant="ghost" position="absolute" right="2" top="2">
<StreamFavoriteButton stream={stream} />
<DebugEventButton event={stream} />
</ButtonGroup>

<Box
backgroundImage={image}
Expand All @@ -84,6 +80,10 @@ function StreamCard({ stream, ...props }: CardProps & { stream: NostrEvent }) {
{starts && <Timestamp timestamp={starts} fontSize="sm" display="block" />}
</Flex>
</CardBody>
<ButtonGroup size="sm" variant="ghost" position="absolute" right="2" top="2">
<StreamFavoriteButton stream={stream} />
<DebugEventButton event={stream} />
</ButtonGroup>
</Card>
);
}
Expand Down

0 comments on commit 815affd

Please sign in to comment.