tangled
alpha
login
or
join now
tynanpurdy.com
/
atprofile
3
fork
atom
Fork of atp.tools as a universal profile for people on the ATmosphere
3
fork
atom
overview
issues
pulls
pipelines
nit: embed padding
Natalie B.
1 year ago
253fcff3
b5b3601d
+3
-3
1 changed file
expand all
collapse all
unified
split
src
components
views
app-bsky
embed.tsx
+3
-3
src/components/views/app-bsky/embed.tsx
···
28
28
<div className={`rounded-lg`}>
29
29
{embed.$type === "app.bsky.embed.external" ? (
30
30
<div
31
31
-
className={`flex flex-col items-left justify-center ${hasBorder && "border border-neutral-500/50 rounded-lg"}`}
31
31
+
className={`flex flex-col items-left justify-center mt-2 ${hasBorder && "border border-neutral-500/50 rounded-lg"}`}
32
32
>
33
33
{embed.external.thumb && (
34
34
<img
···
48
48
</div>
49
49
) : embed.$type === "app.bsky.embed.images" ? (
50
50
<div
51
51
-
className={`flex flex-col items-center justify-center ${hasBorder && "border border-neutral-500/50"}`}
51
51
+
className={`flex flex-col items-center justify-center mt-2 ${hasBorder && "border border-neutral-500/50 rounded-lg"}`}
52
52
>
53
53
<AppBskyEmbedImagesLayout did={did} images={embed.images} />
54
54
</div>
···
67
67
</Link>
68
68
</div>
69
69
) : embed.$type === "app.bsky.embed.record" ? (
70
70
-
<div className="flex flex-col items-left justify-center gap-2 mt-2">
70
70
+
<div className="flex flex-col items-left justify-center gap-2 mt-2 rounded-lg">
71
71
<Link
72
72
to="/at:/$handle/$collection/$rkey"
73
73
params={{