Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
fix: LEAP-208: Make Labeling Settings clickable (#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
hlomzik and hlomzik authored Nov 16, 2023
1 parent 6b18f65 commit c6295ea
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 c6295ea

Please sign in to comment.