Skip to content

Commit

Permalink
disable hover icon locks
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdlm committed Oct 20, 2021
1 parent c1ce588 commit 8fa09da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion questions.json
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@
"type": 3,
"title": "A unidade 'litro' serve para medir:",
"description": "",
"answer": 4,
"answer": 3,
"alternatives": ["volume", "massa", "comprimento", "capacidade", "tempo"]
},
{
Expand Down
8 changes: 6 additions & 2 deletions src/components/Main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ Main.MiniCard = styled.div`
transform: scale(1.5);
box-shadow: inset 0px 0px 5px rgba(255, 255, 255, 0.3);
}
.disabled {
pointer-events: none;
opacity: 0.2;
}
p {
text-align: center;
Expand Down Expand Up @@ -172,13 +176,13 @@ export function MainComplete({ handleModal }) {
<Main.BlockMiniCard>
<Main.MiniCard>
<img
className="icon"
className="icon disabled"
src="https://res.cloudinary.com/dhmkfekt2/image/upload/v1633054930/lock_l5sw35.png"
/>
</Main.MiniCard>
<Main.MiniCard>
<img
className="icon"
className="icon disabled"
src="https://res.cloudinary.com/dhmkfekt2/image/upload/v1633054930/lock_l5sw35.png"
/>
</Main.MiniCard>
Expand Down

1 comment on commit 8fa09da

@vercel
Copy link

@vercel vercel bot commented on 8fa09da Oct 20, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.