style: relocate the play button

This commit is contained in:
MAZE 2023-10-06 18:57:50 +03:30
parent a3eb479140
commit 403a755ca7
2 changed files with 3 additions and 3 deletions

View file

@ -26,6 +26,8 @@ export function Categories({ categories }: CategoriesProps) {
return ( return (
<PlayProvider> <PlayProvider>
<Container> <Container>
<PlayButton />
<div> <div>
{categories.map(category => ( {categories.map(category => (
<Category <Category
@ -35,8 +37,6 @@ export function Categories({ categories }: CategoriesProps) {
/> />
))} ))}
</div> </div>
<PlayButton />
</Container> </Container>
</PlayProvider> </PlayProvider>
); );

View file

@ -1,6 +1,6 @@
.playButton { .playButton {
position: sticky; position: sticky;
bottom: 30px; top: 30px;
display: flex; display: flex;
width: 150px; width: 150px;
height: 45px; height: 45px;