Skip to content

Commit

Permalink
fix(workflow): set approval toggle header size to h4 (#8010)
Browse files Browse the repository at this point in the history
fix: set header size to h4
  • Loading branch information
KenLSM authored Dec 19, 2024
1 parent 5f1fcec commit e575829
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { useCallback, useState } from 'react'
import { Controller, UseFormReturn } from 'react-hook-form'
import { FormControl } from '@chakra-ui/react'

import { textStyles } from '~theme/textStyles'
import { SingleSelect } from '~components/Dropdown'
import FormErrorMessage from '~components/FormControl/FormErrorMessage'
import FormLabel from '~components/FormControl/FormLabel'
Expand Down Expand Up @@ -89,6 +90,7 @@ export const ApprovalsBlock = ({
isLoading={isLoading}
onChange={onApprovalToggleChange}
isChecked={isApprovalToggleChecked}
labelStyles={textStyles.h4}
label="This respondent is an approver"
description="If they select Yes, the form continues to the next step. If they select No, it stops here."
tooltipText="Use this for steps that involve any type of decision, such as reviews or endorsements"
Expand Down

0 comments on commit e575829

Please sign in to comment.