Skip to content

Commit

Permalink
Moving location of avg response times to below the
Browse files Browse the repository at this point in the history
`Submit` button for better visibility.
  • Loading branch information
slshults committed Aug 26, 2024
1 parent a7da933 commit c28bb62
Showing 1 changed file with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,28 @@ const SupportFormBlock = ({ onCancel }: { onCancel: () => void }): JSX.Element =

return (
<Section title="Email an engineer">
<SupportForm />
<LemonButton
form="support-modal-form"
htmlType="submit"
type="primary"
data-attr="submit"
fullWidth
center
className="mt-4"
>
Submit
</LemonButton>
<LemonButton
form="support-modal-form"
type="secondary"
onClick={onCancel}
fullWidth
center
className="mt-2"
>
Cancel
</LemonButton>
<div className="grid grid-cols-2 border rounded [&_>*]:px-2 [&_>*]:py-0.5 mb-4 bg-bg-light">
<div className="col-span-full flex justify-between border-b bg-bg-white py-1">
<div>
Expand Down Expand Up @@ -131,28 +153,6 @@ const SupportFormBlock = ({ onCancel }: { onCancel: () => void }): JSX.Element =
)
})}
</div>
<SupportForm />
<LemonButton
form="support-modal-form"
htmlType="submit"
type="primary"
data-attr="submit"
fullWidth
center
className="mt-4"
>
Submit
</LemonButton>
<LemonButton
form="support-modal-form"
type="secondary"
onClick={onCancel}
fullWidth
center
className="mt-2"
>
Cancel
</LemonButton>
</Section>
)
}
Expand Down

0 comments on commit c28bb62

Please sign in to comment.