Skip to content

Commit 8172680

Browse files
committed
Update PinnedPosts.jsx to include style customization in AssetRenderer component
1 parent be6c938 commit 8172680

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

llmstack/client/src/components/store/PinnedPosts.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,12 @@ const Post = ({ post, username }) => {
4242
{share.title}
4343
</Typography>
4444
{share.cover_image ? (
45-
<AssetRenderer url={share.cover_image} type="image" />
45+
<AssetRenderer
46+
url={share.cover_image}
47+
type="image"
48+
noDownload
49+
styleJson={{ boxShadow: "none", border: "solid 1px #eee" }}
50+
/>
4651
) : (
4752
<Divider />
4853
)}

0 commit comments

Comments
 (0)