Skip to content

Commit

Permalink
un-nest the utility selector from its label to fix font size
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomEtc committed Oct 1, 2023
1 parent 0501422 commit d14df21
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions src/utility-selector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,16 @@ const utilityFormTemplate = (
>
${questionIcon(18, 18)}
</sl-tooltip>
<br />
${select({
id: 'utility',
required: true,
disabled: utilityOptions.length < 2,
options: utilityOptions,
currentValue: utilityId,
tabIndex: 0,
onChange: event =>
onChange((event.target as HTMLInputElement).value),
})}
</label>
${select({
id: 'utility',
required: true,
disabled: utilityOptions.length < 2,
options: utilityOptions,
currentValue: utilityId,
tabIndex: 0,
onChange: event => onChange((event.target as HTMLInputElement).value),
})}
</div>
</form>
`;
Expand Down

0 comments on commit d14df21

Please sign in to comment.