Skip to content

Commit

Permalink
small css fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hzrd149 committed Dec 12, 2024
1 parent c31d16f commit b5ae92d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/components/media-post/media-post-card.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Box, Button, ButtonGroup, Card, CardBody, CardFooter, CardHeader } from "@chakra-ui/react";
import { Box, ButtonGroup, Card, CardBody, CardFooter, CardHeader, IconButton } from "@chakra-ui/react";
import { NostrEvent } from "nostr-tools";
import { Link as RouterLink } from "react-router-dom";

Expand Down Expand Up @@ -32,9 +32,13 @@ export default function MediaPost({ post }: { post: NostrEvent }) {
<UserDnsIdentity pubkey={post.pubkey} />
</Box>

<Button as={RouterLink} to={`/media/${nevent}`} leftIcon={<ThreadIcon boxSize={5} />} ml="auto">
Comments
</Button>
<IconButton
as={RouterLink}
to={`/media/${nevent}`}
icon={<ThreadIcon boxSize={5} />}
ml="auto"
aria-label="Comments"
/>
</CardHeader>

<CardBody p="0" position="relative" display="flex" flexDirection="column" gap="2" minH="md">
Expand Down

0 comments on commit b5ae92d

Please sign in to comment.