Skip to content

Commit

Permalink
fix(components): make labware info typography styles explicit (#14392)
Browse files Browse the repository at this point in the history
In order to prevent wonky rendering in environments with differing global css, be explicit about the
font size, weight, and line-height of the text within the labware infor of the Protocol Deck
  • Loading branch information
b-cooper authored Jan 31, 2024
1 parent 35a8b78 commit 4245e77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/src/hardware-sim/ProtocolDeck/LabwareInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { TYPOGRAPHY, SPACING } from '../../ui-style-constants'
import { COLORS } from '../../helix-design-system'

const labwareDisplayNameStyle = css`
${TYPOGRAPHY.labelSemiBold}
overflow: hidden;
white-space: initial;
text-overflow: ellipsis;
Expand Down

0 comments on commit 4245e77

Please sign in to comment.