mirror of
https://github.com/remvze/moodist.git
synced 2026-02-28 00:53:13 +08:00
style: relocate the play button
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.playButton {
|
||||
position: sticky;
|
||||
bottom: 30px;
|
||||
top: 30px;
|
||||
display: flex;
|
||||
width: 150px;
|
||||
height: 45px;
|
||||
|
||||
Reference in New Issue
Block a user