mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 08:54:13 +00:00
style: relocate the play button
This commit is contained in:
parent
a3eb479140
commit
403a755ca7
2 changed files with 3 additions and 3 deletions
|
|
@ -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>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue