Skip to content

Commit

Permalink
style: relocate the play button
Browse files Browse the repository at this point in the history
  • Loading branch information
remvze committed Oct 6, 2023
1 parent a3eb479 commit 403a755
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/categories/categories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export function Categories({ categories }: CategoriesProps) {
return (
<PlayProvider>
<Container>
<PlayButton />

<div>
{categories.map(category => (
<Category
Expand All @@ -35,8 +37,6 @@ export function Categories({ categories }: CategoriesProps) {
/>
))}
</div>

<PlayButton />
</Container>
</PlayProvider>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/play-button/play-button.module.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.playButton {
position: sticky;
bottom: 30px;
top: 30px;
display: flex;
width: 150px;
height: 45px;
Expand Down

0 comments on commit 403a755

Please sign in to comment.