Skip to content

Commit

Permalink
fix(rewind): card size on tablet
Browse files Browse the repository at this point in the history
  • Loading branch information
RaunoT committed Jan 5, 2024
1 parent 427e672 commit 77fad40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/_components/CardWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type Props = {

export default function CardWrapper({ children, className }: Props) {
return (
<div className='relative flex flex-1 sm:block'>
<div className='relative flex flex-1 lg:block'>
<article
className={clsx(
'bg-gradient-card flex w-full flex-col rounded-3xl px-6 pb-4 pt-6 sm:px-8 sm:pt-8',
Expand Down
4 changes: 2 additions & 2 deletions src/app/rewind/_components/RewindStories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ export default function RewindStories({ userRewind, user }: Props) {
<Stories
stories={stories}
classNames={{
main: 'flex flex-1 flex-col !bg-transparent pt-10 sm:pt-8',
main: '!bg-transparent pt-10 sm:pt-8 flex flex-1 justify-center flex-col',
storyContainer:
'!bg-transparent flex flex-1 flex-col sm:justify-center',
'!bg-transparent *:sm:flex *:sm:flex-col *:sm:justify-center',
}}
/>
)
Expand Down

0 comments on commit 77fad40

Please sign in to comment.