Skip to content

Commit

Permalink
Added overflow hidden for .loveMe Selector
Browse files Browse the repository at this point in the history
Fixed issue where if you double clicked the .loveMe div so fast it will show the hearts outside the div,
So Added overflow hidden for .loveMe CSS Selector.
  • Loading branch information
Omar Ashraf committed Apr 12, 2021
1 parent 5787514 commit 85d49f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions double-click-heart/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ small {
max-width: 100%;
position: relative;
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
overflow: hidden;
}

.loveMe .fa-heart {
Expand Down

0 comments on commit 85d49f8

Please sign in to comment.