Skip to content

Commit

Permalink
fix(protocol-designer): fix protocol description text wrap issue in o…
Browse files Browse the repository at this point in the history
…verview page (#16806)

* fix(protocol-designer): fix protocol description text wrap issue in overview page
  • Loading branch information
koji authored Nov 14, 2024
1 parent e569ab4 commit 3dfbca0
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
TYPOGRAPHY,
} from '@opentrons/components'

import { BUTTON_LINK_STYLE } from '../../atoms'
import { BUTTON_LINK_STYLE, LINE_CLAMP_TEXT_STYLE } from '../../atoms'

const REQUIRED_APP_VERSION = '8.2.0'

Expand Down Expand Up @@ -74,7 +74,10 @@ export function ProtocolMetadata({
</Flex>
}
content={
<StyledText desktopStyle="bodyDefaultRegular">
<StyledText
desktopStyle="bodyDefaultRegular"
css={LINE_CLAMP_TEXT_STYLE(2)}
>
{value ?? t('na')}
</StyledText>
}
Expand Down

0 comments on commit 3dfbca0

Please sign in to comment.