Skip to content

Commit

Permalink
fix: audio player width, fixed #1934
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <tukon479@gmail.com>
  • Loading branch information
Innei committed Dec 4, 2024
1 parent c6deefc commit 238938a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/renderer/src/modules/player/corner-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ const CornerPlayerImpl = ({ hideControls, rounded }: ControlButtonProps) => {
<>
<div
className={cn(
"relative flex border-y bg-white transition-all duration-200 ease-in-out dark:bg-neutral-800",
"relative flex w-full border-y bg-white transition-all duration-200 ease-in-out dark:bg-neutral-800",
rounded && "overflow-hidden rounded-lg border",
)}
>
Expand Down Expand Up @@ -194,7 +194,7 @@ const CornerPlayerImpl = ({ hideControls, rounded }: ControlButtonProps) => {
</div>
</div>

<div className="relative truncate px-2 py-1 text-center text-sm">
<div className="relative grow truncate px-2 py-1 text-center text-sm">
<Marquee
play={playerValue.status === "playing"}
className="mask-horizontal font-medium"
Expand Down

0 comments on commit 238938a

Please sign in to comment.