style: align and widen message stream cards
This commit is contained in:
@@ -34,10 +34,10 @@ export function MessageBubble({ post }: { post: Post }) {
|
||||
return (
|
||||
<article
|
||||
id={`post-${post.id}`}
|
||||
className={`relative self-start rounded-2xl bg-ark-panel text-left shadow-sm ${
|
||||
className={`relative mx-auto rounded-2xl bg-ark-panel text-left shadow-sm ${
|
||||
isVisual
|
||||
? "w-[82vw] max-w-[320px] md:w-[52vw] md:max-w-[420px] lg:w-[46vw] lg:max-w-[520px]"
|
||||
: "inline-block max-w-[92%] md:max-w-[680px]"
|
||||
? "w-[82vw] max-w-[320px] md:w-[52vw] md:max-w-[420px] lg:w-[52vw] lg:max-w-[680px] xl:w-[48vw] xl:max-w-[760px]"
|
||||
: "inline-block max-w-[92%] md:max-w-[680px] lg:max-w-[760px] xl:max-w-[820px]"
|
||||
} ${isTextOnly ? "px-3 py-2" : "p-2"}`}
|
||||
>
|
||||
<Bubble post={post} />
|
||||
|
||||
Reference in New Issue
Block a user