Skip to content

Commit

Permalink
Allow clicks to pass between buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
ezwelty committed Dec 10, 2024
1 parent 2f12ef9 commit d98f7b9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/entry/EntryMobile.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ const RevealedFromUnderneath = styled.div`
${({ isDrawerFullyOpen }) =>
isDrawerFullyOpen &&
`pointer-events: none;
> * {
pointer-events: auto;
}
`}
${({ targetHeight, progress }) =>
`
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit d98f7b9

Please sign in to comment.