Skip to content

Commit

Permalink
fix: LEAP-208: Make Labeling Settings clickable (HumanSignal#1566)
Browse files Browse the repository at this point in the history
Expand clickable area by using `label` tag.

Co-authored-by: hlomzik <[email protected]>
  • Loading branch information
2 people authored and MasherJames committed Feb 29, 2024
1 parent ac8cf63 commit 4115715
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Settings/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const GeneralSettings = observer(({ store }) => {
<Block name="settings" mod={newUI}>
{editorSettingsKeys.map((obj, index) => {
return (
<Elem name="field" key={index}>
<Elem name="field" tag="label" key={index}>
{isFF(FF_DEV_3873) ? (
<>
<Block name="settings__label">
Expand Down
1 change: 1 addition & 0 deletions src/components/Settings/Settings.styl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ $settings__title
.settings__field
display flex
align-items flex-start
cursor pointer
.settings__field + .settings__field
margin-top 16px
.settings__label
Expand Down

0 comments on commit 4115715

Please sign in to comment.