Skip to content

Commit

Permalink
feed and thread UI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hellno committed Aug 21, 2024
1 parent 7200cb7 commit 37daa13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/common/components/CastRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ export const CastRow = ({
cast.embeds?.length > 1 &&
!embedsContainsCastEmbed &&
"grid lg:grid-cols-2 gap-4",
"w-full self-start"
"max-w-lg self-start"
)}
onClick={(e) => e.preventDefault()}
>
Expand All @@ -570,7 +570,7 @@ export const CastRow = ({
<div
key={`${cast.hash}-embed-${embed?.cast_id?.hash || embed?.url}`}
>
{renderEmbedForUrl(embed)}
{renderEmbedForUrl({...embed, hideReactions})}
</div>
))}
</ErrorBoundary>
Expand Down
4 changes: 2 additions & 2 deletions src/common/components/CastThreadView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ export const CastThreadView = ({

const renderGoBackButton = () => (
<Button
size="sm"
size="sm"
variant="outline"
onClick={() => onBack && onBack()}
className="w-16 group my-2"
className="ml-2 w-16 group my-2"
>
<Tooltip.Provider delayDuration={50} skipDelayDuration={0}>
<HotkeyTooltipWrapper hotkey="Esc" side="right">
Expand Down

0 comments on commit 37daa13

Please sign in to comment.