Skip to content

Commit

Permalink
Merge branch 'preview'
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelfan committed Sep 13, 2024
2 parents 1b96d4c + 1326ace commit 4d7d367
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/dataDisplay/postEmbed/ExternalEmbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function ExternalEmbed(props: Props) {
return (
<>
{depth < 2 && (
<article className="bg-skin-base border-skin-base mt-2 rounded-2xl border hover:brightness-95">
<article className="bg-skin-base border-skin-base mt-2 rounded-lg border hover:brightness-95">
<Link
href={embed.external.uri}
target="blank"
Expand All @@ -25,7 +25,7 @@ export default function ExternalEmbed(props: Props) {
src={embed.external.thumb}
alt={embed.external.description}
fill
className="border-b-skin-base rounded-t-2xl border-b object-cover"
className="border-b-skin-base rounded-t-lg border-b object-cover"
/>
</div>
)}
Expand Down
9 changes: 6 additions & 3 deletions src/containers/thread/ThreadActionsContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ interface Props {

export default function ThreadActionsContainer(props: Props) {
const { avatar, post, rounded } = props;
const postHasReplies = !!post.replyCount;

return (
<div
Expand All @@ -20,9 +21,11 @@ export default function ThreadActionsContainer(props: Props) {
}`}
>
<ComposePrompt avatar={avatar} post={post} />
<div className="w-full sm:w-fit sm:max-w-sm">
<Search placeholder="Search for replies" />
</div>
{postHasReplies && (
<div className="w-full sm:w-fit sm:max-w-sm">
<Search placeholder="Search for replies" />
</div>
)}
</div>
);
}

0 comments on commit 4d7d367

Please sign in to comment.