fix: improved card view
This commit is contained in:
1 parent
dae856be78
commit
c42d5a5298
6 files changed
+55
-47
No files matched your search
@@ -12,15 +12,14 @@ export default function Container() {
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className='gap-2 flex'>
|
||||
<Button className='mb-2 p-2' onClick={previous} disabled={!hasPrevious} title='Previous movie'>
|
||||
<div className='gap-2 flex bg-background mb-2 lg:static max-sm:z-10 max-sm:fixed max-sm:bottom-0 max-sm:left-0 max-sm:w-full max-sm:p-2 max-sm:mb-0'>
|
||||
<Button className='p-2' onClick={previous} disabled={!hasPrevious} title='Previous movie'>
|
||||
<ArrowLeft size={24} strokeWidth={1} />
|
||||
</Button>
|
||||
<Button className='w-full mb-2 p-2 grow' onClick={next} title='Next movie'>
|
||||
<Button className='w-full p-2 grow' onClick={next} title='Next movie'>
|
||||
<ArrowRight size={24} strokeWidth={1} />
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<Movie key={movie?.id} movie={movie} />
|
||||
<div className='w-full h-2' />
|
||||
</>
|
||||
|
||||
Reference in new issue
Block a user