From 792550dd7babdb0f32efa2519e1a8d05acf44948 Mon Sep 17 00:00:00 2001 From: iDome89 Date: Tue, 19 Nov 2024 17:08:13 +0100 Subject: [PATCH] Refactor video controls styling and layout --- src/stories/player/parts/controls.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stories/player/parts/controls.tsx b/src/stories/player/parts/controls.tsx index 8625277f..eb817d96 100644 --- a/src/stories/player/parts/controls.tsx +++ b/src/stories/player/parts/controls.tsx @@ -14,7 +14,6 @@ import { PlayerTooltip } from "./tooltip"; import { formatDuration } from "../utils"; import useDebounce from "../../../hooks/useDebounce"; import { CutStart } from "./CutStart"; -import { theme } from "../../theme"; export const ControlsWrapper = styled.div` ${({ showControls }) => @@ -49,6 +48,7 @@ export const ControlsBar = styled.div` const StyledDiv = styled.div` display: flex; align-items: center; + gap: ${({ theme }) => theme.space.xxs}; `; const CurrentTimeMarker = styled.div<{ @@ -237,14 +237,14 @@ export const Controls = ({ - +