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