Skip to content

Commit

Permalink
fix: z-index
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Jul 26, 2024
1 parent 81ec524 commit d69df8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/renderer/src/components/ui/divider/PanelSpliter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
)
4 changes: 2 additions & 2 deletions src/renderer/src/modules/feed-column/corner-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d69df8b

Please sign in to comment.