Increase size of create playlist modal

This commit is contained in:
jeffvli 2023-05-21 17:53:43 -07:00
parent d289797d65
commit adc3e421f6
3 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ export const PlaylistListHeader = ({ itemCount, tableRef }: PlaylistListHeaderPr
onClose: () => { onClose: () => {
tableRef?.current?.api?.purgeInfiniteCache(); tableRef?.current?.api?.purgeInfiniteCache();
}, },
size: server?.type === ServerType?.NAVIDROME ? 'lg' : 'sm', size: server?.type === ServerType?.NAVIDROME ? 'xl' : 'sm',
title: 'Create Playlist', title: 'Create Playlist',
}); });
}; };

View file

@ -33,7 +33,7 @@ export const HomeCommands = ({
openModal({ openModal({
children: <CreatePlaylistForm onCancel={() => closeAllModals()} />, children: <CreatePlaylistForm onCancel={() => closeAllModals()} />,
size: server?.type === ServerType?.NAVIDROME ? 'lg' : 'sm', size: server?.type === ServerType?.NAVIDROME ? 'xl' : 'sm',
title: 'Create Playlist', title: 'Create Playlist',
}); });
}, [handleClose, server?.type]); }, [handleClose, server?.type]);

View file

@ -95,7 +95,7 @@ export const Sidebar = () => {
openModal({ openModal({
children: <CreatePlaylistForm onCancel={() => closeAllModals()} />, children: <CreatePlaylistForm onCancel={() => closeAllModals()} />,
size: server?.type === ServerType?.NAVIDROME ? 'lg' : 'sm', size: server?.type === ServerType?.NAVIDROME ? 'xl' : 'sm',
title: 'Create Playlist', title: 'Create Playlist',
}); });
}; };