summaryrefslogtreecommitdiff
path: root/apps/web/src
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-08-05 17:18:41 +0200
committerMaze Winther <mazewinther@gmail.com>2025-08-05 17:18:41 +0200
commite5a0deb777be91eef119be45ca9f5a95aadad0c6 (patch)
treed132a15ebaa0bdb2f7308974c8b1b6e00407b7a1 /apps/web/src
parent6aaa9a1f585ac4345df507b487d95bdf21769adb (diff)
downloadopencut-e5a0deb777be91eef119be45ca9f5a95aadad0c6.tar.gz
style: move icons on timeline toolbar
Diffstat (limited to 'apps/web/src')
-rw-r--r--apps/web/src/components/editor/preview-panel.tsx28
1 files changed, 14 insertions, 14 deletions
diff --git a/apps/web/src/components/editor/preview-panel.tsx b/apps/web/src/components/editor/preview-panel.tsx
index b92922d4..cc58a598 100644
--- a/apps/web/src/components/editor/preview-panel.tsx
+++ b/apps/web/src/components/editor/preview-panel.tsx
@@ -835,12 +835,25 @@ function PreviewToolbar({
className="flex justify-end gap-2 h-auto pb-5 pr-5 pt-4 w-full"
>
<div className="flex items-center gap-2">
+ <Button
+ variant="text"
+ size="icon"
+ onClick={toggle}
+ disabled={!hasAnyElements}
+ className="h-auto p-0"
+ >
+ {isPlaying ? (
+ <Pause className="h-3 w-3" />
+ ) : (
+ <Play className="h-3 w-3" />
+ )}
+ </Button>
<Popover>
<PopoverTrigger asChild>
<Button
variant="text"
size="icon"
- className="h-auto p-0"
+ className="h-auto p-0 mr-1"
title="Toggle layout guide"
>
<SocialsIcon className="!size-6" />
@@ -886,19 +899,6 @@ function PreviewToolbar({
<Button
variant="text"
size="icon"
- onClick={toggle}
- disabled={!hasAnyElements}
- className="h-auto p-0"
- >
- {isPlaying ? (
- <Pause className="h-3 w-3" />
- ) : (
- <Play className="h-3 w-3" />
- )}
- </Button>
- <Button
- variant="text"
- size="icon"
className="size-4!"
onClick={onToggleExpanded}
title="Enter fullscreen"