Skip to content

Commit

Permalink
ui
Browse files Browse the repository at this point in the history
  • Loading branch information
noahgsolomon committed Oct 30, 2024
1 parent dc45c80 commit c2b9665
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/magicui/tweet-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const TweetMedia = ({ tweet }: { tweet: EnrichedTweet }) => (
loop
playsInline
controls
className="rounded-xl border shadow-sm"
className="max-h-[36rem] w-auto rounded-lg border shadow-sm"
src={tweet.video.variants[4]?.src}
></video>
);
Expand All @@ -204,7 +204,7 @@ export const TweetMedia = ({ tweet }: { tweet: EnrichedTweet }) => (
src={photo.url}
title={"Photo by " + tweet.user.name}
alt={tweet.text}
className="h-64 w-5/6 shrink-0 snap-center snap-always rounded-xl border object-cover shadow-sm"
className="h-48 w-auto shrink-0 snap-center snap-always rounded-xl border object-cover shadow-sm"
/>
))}
<div className="shrink-0 snap-center sm:w-2" />
Expand All @@ -217,7 +217,7 @@ export const TweetMedia = ({ tweet }: { tweet: EnrichedTweet }) => (
<img
// @ts-ignore
src={tweet.card.binding_values.thumbnail_image_large.image_value.url}
className="h-64 rounded-xl border object-cover shadow-sm"
className="h-48 rounded-xl border object-cover shadow-sm"
/>
)}
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/ui/background.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ export function Background() {

return (
<div className="pointer-events-none fixed inset-0 z-[-1] flex min-h-screen w-screen justify-center p-[120px_24px_160px]">
<div style={styles.backgroundMainBefore} />
<div style={styles.backgroundMainAfter} />
{/* <div style={styles.backgroundMainBefore} />
<div style={styles.backgroundMainAfter} /> */}
{(path === "/" || path === "/login" || path === "/signup") && (
<div style={styles.backgroundContent} />
)}
Expand Down

0 comments on commit c2b9665

Please sign in to comment.