Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
address feedback
Browse files Browse the repository at this point in the history
koji committed Mar 19, 2024
1 parent 2478a27 commit 57dbc58
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
@@ -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>
)
6 changes: 3 additions & 3 deletions app/src/pages/ProtocolSetup/index.tsx
Original file line number Diff line number Diff line change
@@ -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({
@@ -130,7 +130,7 @@ export function ProtocolSetupStep({
disabledReason,
description,
hasIcon = true,
hasLargeFont = false,
fontSize = 'p',
}: ProtocolSetupStepProps): JSX.Element {
const backgroundColorByStepStatus = {
ready: COLORS.green35,
@@ -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"

0 comments on commit 57dbc58

Please sign in to comment.