Skip to content

Commit

Permalink
ui(rewind): use smaller select style for user selector
Browse files Browse the repository at this point in the history
  • Loading branch information
RaunoT committed Aug 25, 2024
1 parent ca5061c commit 310386d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/rewind/_components/StoryWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function StoryWrapper({
<>
{children}
<button
className='absolute -bottom-[54px] right-0 z-10 size-5 sm:-right-4'
className='absolute -bottom-[2.75rem] right-0 z-10 size-5 sm:-right-4'
onClick={() => (isPaused ? resume() : pause())}
>
{isPaused ? <PlayIcon /> : <PauseIcon />}
Expand Down
4 changes: 2 additions & 2 deletions src/app/rewind/_components/UserSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ export default function UserSelect({ users, currentUserId }: Props) {

return (
<div className='input-wrapper absolute bottom-4 left-4 z-10'>
<div className='select-wrapper'>
<div className='select-wrapper select-wrapper--small'>
<select
className='input'
className='input input--small'
value={currentUserId}
onChange={handleChange}
ref={selectRef}
Expand Down
2 changes: 1 addition & 1 deletion src/app/rewind/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default async function RewindLayout({ children }: Props) {
return (
<div className='flex w-full max-w-2xl flex-1 flex-col sm:flex-none'>
<PageTitle title='Rewind' />
<CardWrapper className='pb-20 sm:min-h-[80vh]'>{children}</CardWrapper>
<CardWrapper className='pb-16 sm:min-h-[80vh]'>{children}</CardWrapper>
</div>
)
}

0 comments on commit 310386d

Please sign in to comment.