Skip to content

Commit

Permalink
hot fix: flashing bottom form buttons in form (prod only)
Browse files Browse the repository at this point in the history
  • Loading branch information
toreylittlefield committed Sep 24, 2023
1 parent 0d8c945 commit c874f74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const FormButtons = () => {
};

return (
<div className="bg-background border-t-foreground/30 sticky bottom-0 left-0 flex w-full flex-col items-center justify-end border-t pb-4 pt-2">
<div className="bg-background border-t-foreground/30 sticky bottom-0 left-0 z-10 flex w-full flex-col items-center justify-end border-t pb-4 pt-2">
<div className="text-negative mb-2 flex flex-col items-center pt-2 text-center text-xs">
<SVGIcon name="noSymbolIcon" />
<h3 className="w-full whitespace-nowrap">
Expand Down
4 changes: 2 additions & 2 deletions packages/client/lib/components/ReportForm/ReportForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const ReportForm = () => {
const isStepFive = step === 5;

return (
<form className="flex min-h-screen flex-col justify-between" noValidate>
<div className={`${isStepFive ? '' : 'px-4 py-2'}`}>
<form className="relative flex min-h-screen flex-col" noValidate>
<div className={`flex-grow ${isStepFive ? '' : 'px-4 py-2'}`}>
{!isStepFive && (
<h1 className="text-2xl font-medium">Report your incident</h1>
)}
Expand Down

0 comments on commit c874f74

Please sign in to comment.