From 1f115b5d26fc0454c16ebb9bdceeb60ce80bb17d Mon Sep 17 00:00:00 2001 From: Ian Jones <51156018+ianjon3s@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:31:31 +0000 Subject: [PATCH] fix: help text pointer overlap (#2486) --- .../src/@planx/components/shared/Preview/QuestionHeader.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editor.planx.uk/src/@planx/components/shared/Preview/QuestionHeader.tsx b/editor.planx.uk/src/@planx/components/shared/Preview/QuestionHeader.tsx index 48a8ef9536..fe5d974714 100644 --- a/editor.planx.uk/src/@planx/components/shared/Preview/QuestionHeader.tsx +++ b/editor.planx.uk/src/@planx/components/shared/Preview/QuestionHeader.tsx @@ -47,6 +47,7 @@ const HelpButtonWrapper = styled(Box)(({ theme }) => ({ width: HelpButtonMinWidth, top: "-4px", right: "-6px", + pointerEvents: "none", [theme.breakpoints.up("md")]: { width: "80px", top: 0, @@ -72,6 +73,7 @@ export const HelpButton = styled(Button)(({ theme }) => ({ boxShadow: "none", fontSize: "1.125em", filter: "drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5))", + pointerEvents: "auto", [theme.breakpoints.up("lg")]: { minHeight: "48px", fontSize: "1.25em",