Skip to content

Commit

Permalink
Merge pull request #597 from CravateRouge/patch-1
Browse files Browse the repository at this point in the history
Fix edgeIncluded label partially clickable
  • Loading branch information
JonasBK authored Apr 27, 2023
2 parents 4176bb5 + 40a618a commit ba42987
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/components/SearchContainer/EdgeFilter/EdgeFilterCheck.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@ const EdgeFilterCheck = ({ name }) => {

return (
<div className={styles.input}>
<input
className='checkbox-inline'
type='checkbox'
checked={context.edgeIncluded[name]}
onChange={handleChange}
/>
<label onClick={handleChange}>{name}</label>
<label>
<input
className='checkbox-inline'
type='checkbox'
checked={context.edgeIncluded[name]}
onChange={handleChange}
/>
{name}</label>
</div>
);
};
Expand Down

0 comments on commit ba42987

Please sign in to comment.