mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 18:33:33 +00:00
Additional styling changes
This commit is contained in:
parent
5dd860735d
commit
48dfd469ed
5 changed files with 21 additions and 13 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Stack, Group, Center, Box } from '@mantine/core';
|
||||
import { Stack, Group, Center } from '@mantine/core';
|
||||
import { motion } from 'framer-motion';
|
||||
import { HiOutlineQueueList } from 'react-icons/hi2';
|
||||
import { RiFileMusicLine, RiFileTextLine, RiInformationFill } from 'react-icons/ri';
|
||||
|
|
@ -28,7 +28,9 @@ const QueueContainer = styled.div`
|
|||
`;
|
||||
|
||||
const LyricsContainer = styled(ScrollArea)`
|
||||
z-index: 1;
|
||||
text-align: center;
|
||||
transform: translateY(-2rem);
|
||||
|
||||
mask-image: linear-gradient(
|
||||
180deg,
|
||||
|
|
@ -48,6 +50,11 @@ const ActiveTabIndicator = styled(motion.div)`
|
|||
background: var(--main-fg);
|
||||
`;
|
||||
|
||||
const HeaderItemWrapper = styled.div`
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
`;
|
||||
|
||||
export const FullScreenPlayerQueue = () => {
|
||||
const { activeTab } = useFullScreenPlayerStore();
|
||||
const { setStore } = useFullScreenPlayerStoreActions();
|
||||
|
|
@ -81,10 +88,7 @@ export const FullScreenPlayerQueue = () => {
|
|||
position="center"
|
||||
>
|
||||
{headerItems.map((item) => (
|
||||
<Box
|
||||
key={`tab-${item.label}`}
|
||||
pos="relative"
|
||||
>
|
||||
<HeaderItemWrapper key={`tab-${item.label}`}>
|
||||
<Button
|
||||
fullWidth
|
||||
uppercase
|
||||
|
|
@ -104,7 +108,7 @@ export const FullScreenPlayerQueue = () => {
|
|||
{item.label}
|
||||
</Button>
|
||||
{item.active ? <ActiveTabIndicator layoutId="underline" /> : null}
|
||||
</Box>
|
||||
</HeaderItemWrapper>
|
||||
))}
|
||||
</Group>
|
||||
{activeTab === 'queue' ? (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue