Adjust "migration options" dialog button positioning
This commit is contained in:
@@ -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 && (
|
||||||
|
|||||||
Reference in New Issue
Block a user