From 59cb212234a218f967c0fb480069e7194e0a8235 Mon Sep 17 00:00:00 2001 From: Matthias Van Parijs Date: Fri, 20 Dec 2024 12:45:55 +0100 Subject: [PATCH] chore: Added layout of player controls --- packages/app/src/components/PlayerControls.tsx | 6 ++++-- packages/app/src/routes/(dashboard)/_layout/player.tsx | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/app/src/components/PlayerControls.tsx b/packages/app/src/components/PlayerControls.tsx index c6232bf0..35a4fd7b 100644 --- a/packages/app/src/components/PlayerControls.tsx +++ b/packages/app/src/components/PlayerControls.tsx @@ -9,7 +9,7 @@ import type { ReactNode, RefObject } from "react"; export function PlayerControls() { return (
-
+
@@ -111,7 +111,9 @@ function Tooltip({ "pointer-events-none absolute h-6 -top-8 -translate-x-1/2 opacity-0 transition-opacity text-xs text-white bg-black px-1 flex items-center rounded-md", visible && "opacity-100", )} - style={{ left: `${x * 100}%` }} + style={{ + left: `${x * 100}%`, + }} > {children}
diff --git a/packages/app/src/routes/(dashboard)/_layout/player.tsx b/packages/app/src/routes/(dashboard)/_layout/player.tsx index 8beb2bf7..ef3df5aa 100644 --- a/packages/app/src/routes/(dashboard)/_layout/player.tsx +++ b/packages/app/src/routes/(dashboard)/_layout/player.tsx @@ -60,7 +60,7 @@ function RouteComponent() {
-
+