make progress bar sticky, fix 'delete account' button

This commit is contained in:
martin-mfg
2025-11-27 14:57:30 +01:00
parent 02047e75e7
commit 6c226ce426
2 changed files with 2 additions and 2 deletions
@@ -46,7 +46,7 @@ const ProgressBar = ({ items, currItem, setCurrItem }) => {
const rightDisabled = currItem === items.length - 1;
return (
<div className="w-full flex items-center">
<div className="w-full flex items-center sticky top-0 bg-white z-10 py-2">
<LeftArrowIcon
className={classnames(
'w-8 h-8',
@@ -130,7 +130,7 @@ const LoginStage = ({ setCurrItem }) => {
<div className="mt-6 flex items-center gap-4">
<Button
className="h-12 flex justify-center items-center w-[320px] text-black border border-black bg-white hover:bg-gray-100"
onClick={deleteAccountHandler(userId, userKey)}
onClick={() => deleteAccountHandler(userId, userKey)}
>
<span className="xl:text-lg">Delete Account</span>
</Button>