Skip to content

Commit

Permalink
fix: style (#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
Soya-xy authored Sep 12, 2024
1 parent 9024b6a commit 3d39308
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/media/VideoPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const ControlBar = memo(() => {
dragMomentum={false}
dragConstraints={{ current: document.documentElement }}
className={cn(
"absolute inset-x-2 bottom-2 h-8 rounded-2xl border bg-zinc-100/90 backdrop-blur-xl dark:border-transparent dark:bg-neutral-700/90",
"absolute inset-x-2 -bottom-10 h-8 rounded-2xl border bg-zinc-100/90 backdrop-blur-xl dark:border-transparent dark:bg-neutral-700/90",
"flex items-center gap-3 px-3",
"mx-auto max-w-[80vw]",
)}
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/src/components/ui/media/preview-media.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ const FallbackableImage: FC<
return (
<div className="flex size-full flex-col">
{isLoading && !isAllError && (
<div className="center absolute size-full">
<div className="center absolute inset-0 size-full">
<i className="i-mgc-loading-3-cute-re size-8 animate-spin text-white/80" />
</div>
)}
Expand Down Expand Up @@ -335,7 +335,7 @@ const FallbackableImage: FC<
)}

{currentState === "fallback" && (
<div className="mt-4 text-xs">
<div className="mt-4 text-center text-xs">
<span>
This image is preview in low quality, because the original image is not available.
</span>
Expand Down

0 comments on commit 3d39308

Please sign in to comment.