Adjust "migration options" dialog button positioning

This commit is contained in:
schroda
2026-05-13 01:01:06 +02:00
parent af66bacc97
commit 72d213c43e

View File

@@ -25,6 +25,7 @@ import type { AwaitableComponentProps } from 'awaitable-component';
import type { MangaIdInfo } from '@/features/manga/Manga.types.ts';
import { AppRoutes } from '@/base/AppRoute.constants.ts';
import { Link } from 'react-router-dom';
import { applyStyles } from '@/base/utils/ApplyStyles.ts';
export const MigrationOptionsDialog = ({
isVisible,
@@ -98,8 +99,11 @@ export const MigrationOptionsDialog = ({
<Stack
direction="row"
sx={{
justifyContent: 'space-between',
width: '100%',
justifyContent: 'space-between',
...applyStyles(mangaIdToMigrateTo === undefined, {
justifyContent: 'end',
}),
}}
>
{mangaIdToMigrateTo !== undefined && (