Skip to content

Commit

Permalink
fix(checkbox): set label position to relative
Browse files Browse the repository at this point in the history
fixes weird issue that occurs when clicking on a flexible element
when the page is scrolled down
  • Loading branch information
awgaan committed Sep 7, 2020
1 parent 300a80b commit 6f48565
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/Checkbox/Checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ class Checkbox extends Component {
<style jsx>{`
label {
display: flex;
position: relative;
flex-direction: row;
align-items: center;
justify-content: flex-start;
Expand Down

0 comments on commit 6f48565

Please sign in to comment.