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

View file

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