From d98f7b9bca097f3885aa454dfd967594c584b7d3 Mon Sep 17 00:00:00 2001 From: ezwelty Date: Wed, 11 Dec 2024 00:04:54 +0100 Subject: [PATCH] Allow clicks to pass between buttons --- src/components/entry/EntryMobile.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/entry/EntryMobile.js b/src/components/entry/EntryMobile.js index 06c7f1cd3..420da661b 100644 --- a/src/components/entry/EntryMobile.js +++ b/src/components/entry/EntryMobile.js @@ -35,11 +35,11 @@ const RevealedFromUnderneath = styled.div` ${({ isDrawerFullyOpen }) => isDrawerFullyOpen && `pointer-events: none; - + > * { pointer-events: auto; } - + `} ${({ targetHeight, progress }) => ` @@ -81,6 +81,11 @@ const Buttons = styled.div` display: flex; justify-content: space-between; ${({ whiteBackground }) => whiteBackground && `background: white;`} + pointer-events: none; + + button { + pointer-events: auto; + } > div { display: flex;