Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
koji committed Mar 19, 2024
1 parent 2478a27 commit 57dbc58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/src/organisms/ProtocolSetupParameters/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export function ProtocolSetupParameters({
onClickSetupStep={() => console.log('TODO: wire this up')}
detail={getDefault(parameter)}
description={parameter.description}
hasLargeFont
fontSize="h4"
/>
</React.Fragment>
)
Expand Down
6 changes: 3 additions & 3 deletions app/src/pages/ProtocolSetup/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ interface ProtocolSetupStepProps {
// optional removal of the icon
hasIcon?: boolean
// optional enlarge the font size
hasLargeFont?: boolean
fontSize?: string
}

export function ProtocolSetupStep({
Expand All @@ -130,7 +130,7 @@ export function ProtocolSetupStep({
disabledReason,
description,
hasIcon = true,
hasLargeFont = false,
fontSize = 'p',
}: ProtocolSetupStepProps): JSX.Element {
const backgroundColorByStepStatus = {
ready: COLORS.green35,
Expand Down Expand Up @@ -214,7 +214,7 @@ export function ProtocolSetupStep({
}
>
<StyledText
as={hasLargeFont ? 'h4' : 'p'}
as={fontSize}
textAlign={TEXT_ALIGN_RIGHT}
color={disabled ? COLORS.grey50 : COLORS.black90}
maxWidth="20rem"
Expand Down

0 comments on commit 57dbc58

Please sign in to comment.