Skip to content

Commit

Permalink
fix: disable translate animation sidebar on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
SwiichyCode committed Feb 25, 2024
1 parent 0f4b3bb commit 4b4fafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/organisms/Sidebar/SidebarDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const SidebarDialog = ({ dialogHeader, children }: Props) => {
<div className="pointer-events-none inset-y-0 flex h-screen max-w-full md:fixed md:right-0 md:pl-10">
<Transition.Child
as={Fragment}
enter="transform transition ease-in-out duration-200"
enter="md:transform md:transition md:ease-in-out md:duration-200"
enterFrom="translate-x-full"
enterTo="translate-x-0"
leaveFrom="translate-x-0"
Expand Down

0 comments on commit 4b4fafc

Please sign in to comment.