rollback position of icons
This commit is contained in:
parent
1b0c173f39
commit
f61d76cfac
2 changed files with 15 additions and 14 deletions
|
|
@ -125,15 +125,16 @@ export default function BuildTrigger({
|
|||
|
||||
return (
|
||||
<Transition
|
||||
show={!open}
|
||||
appear={true}
|
||||
enter="transition ease-out duration-300"
|
||||
enterTo="translate-x-0"
|
||||
leave="transition ease-in duration-300"
|
||||
leaveFrom="translate-x-0"
|
||||
leaveTo="translate-x-96"
|
||||
show={!open}
|
||||
appear={true}
|
||||
enter="transition ease-out duration-300"
|
||||
enterFrom="translate-y-96"
|
||||
enterTo="translate-y-0"
|
||||
leave="transition ease-in duration-300"
|
||||
leaveFrom="translate-y-0"
|
||||
leaveTo="translate-y-96"
|
||||
>
|
||||
<div className={`absolute right-8 bottom-[620px]`}>
|
||||
<div className={`fixed right-4` + (isBuilt ? " bottom-20" : " bottom-4")}>
|
||||
<div
|
||||
className="flex justify-center align-center py-1 px-3 w-12 h-12 rounded-full shadow-md hover:shadow-sm shadow-[#00000063] hover:shadow-[#00000063]
|
||||
bg-[#E2E7EE] dark:border-gray-600 cursor-pointer"
|
||||
|
|
|
|||
|
|
@ -18,18 +18,18 @@ export default function ChatTrigger({ open, setOpen, isBuilt }) {
|
|||
}
|
||||
|
||||
return (
|
||||
<Transition
|
||||
<Transition
|
||||
show={!open}
|
||||
appear={true}
|
||||
enter="transition ease-out duration-300"
|
||||
enterFrom="translate-x-96"
|
||||
enterFrom="translate-y-96"
|
||||
enterTo="translate-y-0"
|
||||
leave="transition ease-in duration-300"
|
||||
leaveFrom="translate-x-0"
|
||||
leaveTo="translate-x-96"
|
||||
>
|
||||
leaveFrom="translate-y-0"
|
||||
leaveTo="translate-y-96"
|
||||
>
|
||||
|
||||
<div className="absolute right-[100px] bottom-[620px]">
|
||||
<div className="absolute bottom-4 right-3">
|
||||
<div
|
||||
className="
|
||||
rounded-full shadow-md hover:shadow-sm shadow-[#00000063] hover:shadow-[#00000063]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue