fix: z-index

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei 2024-07-26 17:30:11 +08:00
parent 81ec524f76
commit d69df8bbac
No known key found for this signature in database
GPG Key ID: 0F62D33977F021F7
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ export const PanelSplitter = (
<div className="relative h-full w-0 shrink-0">
<div
{...props}
className="absolute inset-0 z-[9] w-[2px] -translate-x-1/2 cursor-ew-resize bg-transparent hover:bg-gray-400 hover:dark:bg-neutral-500"
className="absolute inset-0 z-[11] w-[2px] -translate-x-1/2 cursor-ew-resize bg-transparent hover:bg-gray-400 hover:dark:bg-neutral-500"
/>
</div>
)

View File

@ -48,7 +48,7 @@ export const CornerPlayer = () => {
<AnimatePresence>
{playerValue.show && entry && feed && (
<m.div
className="group -mt-10 mb-10 w-full"
className="group relative z-10 -mt-10 mb-10 w-full"
initial={{ y: 50, opacity: 0 }}
animate={{ y: 0, opacity: 1 }}
exit={{ y: 50, opacity: 0 }}
@ -93,7 +93,7 @@ export const CornerPlayer = () => {
</div>
</div>
<div className="relative flex bg-theme-modal-background shadow backdrop-blur transition-all duration-200 ease-in-out hover:rounded-b-lg hover:rounded-t-none">
<div className="relative flex bg-theme-modal-background shadow backdrop-blur transition-all duration-200 ease-in-out">
{/* play cover */}
<div className="relative h-full">
<FeedIcon