chore: modal animations
This commit is contained in:
@@ -60,10 +60,7 @@ const PreferencesView: FunctionComponent<PreferencesProps> = ({ application, clo
|
||||
<Modal
|
||||
close={closePreferences}
|
||||
title="Preferences"
|
||||
className={{
|
||||
content: 'md:h-full md:!max-h-full md:!w-full',
|
||||
description: 'flex flex-col',
|
||||
}}
|
||||
className="flex flex-col"
|
||||
customHeader={
|
||||
<div
|
||||
className={classNames(
|
||||
|
||||
@@ -47,8 +47,10 @@ const PreferencesViewWrapper: FunctionComponent<PreferencesViewWrapperProps> = (
|
||||
<ModalOverlay
|
||||
isOpen={application.preferencesController.isOpen}
|
||||
ref={setElement}
|
||||
animate="mobile"
|
||||
animationVariant="horizontal"
|
||||
close={application.preferencesController.closePreferences}
|
||||
className="md:h-full md:!max-h-full md:!w-full"
|
||||
>
|
||||
<PreferencesView
|
||||
closePreferences={application.preferencesController.closePreferences}
|
||||
|
||||
Reference in New Issue
Block a user