Skip to content

Commit 6b51bff

Browse files
authored
Merge pull request #886 from cozy/fix--Reduce-click-area-on-app-vote-component
fix: Reduce click area on app vote component (VO-172)
2 parents 9477767 + 21770a1 commit 6b51bff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/styles/appVote.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
display: flex;
44
flex-direction: row;
55
justify-content: center;
6+
pointer-events: none; /* Prevents click events on the wrapper */
67
}
78

89
.sto-app-vote {
@@ -16,6 +17,7 @@
1617
border-radius: 2px;
1718
border: 1px var(--silver) dashed;
1819
padding: 0 1rem;
20+
pointer-events: all; /* Allows click events on the vote component */
1921
}
2022

2123
.sto-app-vote:hover,

0 commit comments

Comments
 (0)