Skip to content

Commit

Permalink
Make entire cancel button area clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
Phanatic committed Oct 15, 2024
1 parent 8e7e1ea commit f72502a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/surveys/components/QuestionHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function Cancel({ onClick }: { onClick: () => void }) {
const { isPreviewMode } = useContext(SurveyContext)

return (
<div className="cancel-btn-wrapper">
<div className="cancel-btn-wrapper" onClick={onClick} disabled={isPreviewMode}>
<button className="form-cancel" onClick={onClick} disabled={isPreviewMode}>
{cancelSVG}
</button>
Expand Down

0 comments on commit f72502a

Please sign in to comment.