Skip to content

Commit 329efdb

Browse files
committed
feat: new image editor ui
1 parent bac8da0 commit 329efdb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web/src/pages/image-editor-page.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,14 +928,17 @@ export function ImageEditorPage({ galleryKey, imageKey, loaderData }: ImageEdito
928928
>
929929
<SheetHeader className='border-b p-3'>
930930
<div className='flex items-center gap-3'>
931-
<Button variant='ghost' size='sm' onClick={() => setMobileSheetOpen(false)}>
931+
<Button variant='outline' size='sm' onClick={() => setMobileSheetOpen(false)}>
932932
<ChevronLeft className='mr-1 h-4 w-4' />
933933
{t('imageEditor.page.back')}
934934
</Button>
935935

936936
<SheetTitle className='flex-1 text-center'>
937937
{t('imageEditor.page.controls')}
938938
</SheetTitle>
939+
940+
{/* Invisible spacer to balance the Back button and center the title */}
941+
<div className='w-[72px]' />
939942
</div>
940943
</SheetHeader>
941944

0 commit comments

Comments
 (0)