diff --git a/app/src/molecules/InterventionModal/index.tsx b/app/src/molecules/InterventionModal/index.tsx index 3877c6bcb37..055b4631da7 100644 --- a/app/src/molecules/InterventionModal/index.tsx +++ b/app/src/molecules/InterventionModal/index.tsx @@ -1,5 +1,6 @@ import * as React from 'react' import { useSelector } from 'react-redux' +import {css} from 'styled-components' import { ALIGN_CENTER, @@ -15,6 +16,7 @@ import { POSITION_STICKY, SPACING, DIRECTION_COLUMN, + RESPONSIVENESS } from '@opentrons/components' import { getIsOnDevice } from '../../redux/config' @@ -166,15 +168,7 @@ export function InterventionModal({ onClick={iconHeadingOnClick} > {iconName != null ? ( - isOnDevice ? ( - - ) : ( - - ) + ) : null} {iconHeading ?? null} @@ -185,3 +179,13 @@ export function InterventionModal({ ) } + + +const ICON_SIZE = css` + width: 1rem; + height: 1rem; + @media (${RESPONSIVENESS.touchscreenMediaQuerySpecs}) { + width: 2rem; + height: 2rem; + } +` \ No newline at end of file