Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(protocol-designer): offset tip in blowout location vizualization #15227

Merged
merged 2 commits into from
May 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import WELL_CROSS_SECTION_IMAGE from '../../../../images/well_cross_section.svg'
import styles from './TipPositionInput.module.css'

const WELL_HEIGHT_PIXELS = 145
const TIP_X_OFFSET_PIXELS = 22
const PIXEL_DECIMALS = 2
interface TipPositionZAxisVizProps {
wellDepthMm: number
Expand All @@ -30,7 +31,7 @@ export function TipPositionZAxisViz(
<img
src={PIPETTE_TIP_IMAGE}
className={styles.pipette_tip_image}
style={{ bottom: `${bottomPx}px` }}
style={{ bottom: `${bottomPx}px`, right: `${TIP_X_OFFSET_PIXELS}px` }}
/>
{props.wellDepthMm !== null && (
<span className={styles.well_height_label}>{props.wellDepthMm}mm</span>
Expand Down
Loading