diff --git a/web/src/components/FriendChip.tsx b/web/src/components/FriendChip.tsx index e261e5c..f42ff74 100644 --- a/web/src/components/FriendChip.tsx +++ b/web/src/components/FriendChip.tsx @@ -13,7 +13,7 @@ export default function FriendChip({ friend, className }: { friend: number; clas return ( {name} diff --git a/web/src/components/StatBars.tsx b/web/src/components/StatBars.tsx index 284767b..0f34178 100644 --- a/web/src/components/StatBars.tsx +++ b/web/src/components/StatBars.tsx @@ -21,8 +21,8 @@ export function ShareBars({ label, bars, wide = false }: { label: string; bars: {bars.map((b) => (
  • {b.label} -
  • diff --git a/web/src/components/VolumeControl.tsx b/web/src/components/VolumeControl.tsx index 7eb1311..569eea3 100644 --- a/web/src/components/VolumeControl.tsx +++ b/web/src/components/VolumeControl.tsx @@ -1,3 +1,4 @@ +import type { CSSProperties } from 'react' import { Volume1, Volume2, VolumeX } from 'lucide-react' import { useTranslation } from 'react-i18next' import { Button } from '@/components/ui/button' @@ -31,7 +32,8 @@ export default function VolumeControl({ className }: { className?: string }) { aria-label={t('player.volume')} aria-valuetext={`${percent}%`} onChange={(e) => setVolume(Number(e.target.value) / 100)} - className="h-11 w-24 cursor-pointer accent-primary max-sm:hidden" + style={{ "--fill": `${percent}%` } as CSSProperties} + className="slider h-11 w-24 cursor-pointer max-sm:hidden" /> ) diff --git a/web/src/components/layout/PhoneTabs.tsx b/web/src/components/layout/PhoneTabs.tsx index f8a53c3..549df1a 100644 --- a/web/src/components/layout/PhoneTabs.tsx +++ b/web/src/components/layout/PhoneTabs.tsx @@ -43,7 +43,7 @@ export default function PhoneTabs() {