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

refactor(app): Border radius final feedback #14695

Merged
merged 2 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
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 @@ -91,8 +91,8 @@ export function CurrentOffsetsTable(
<OffsetTableRow key={offset.id}>
<OffsetTableDatum
css={`
border-radius: ${BORDERS.borderRadius4} 0 0
${BORDERS.borderRadius4};
border-radius: ${BORDERS.borderRadius8} 0 0
${BORDERS.borderRadius8};
`}
>
{getDisplayLocation(
Expand All @@ -105,8 +105,8 @@ export function CurrentOffsetsTable(
<OffsetTableDatum>{labwareDisplayName}</OffsetTableDatum>
<OffsetTableDatum
css={`
border-radius: 0 ${BORDERS.borderRadius4}
${BORDERS.borderRadius4} 0;
border-radius: 0 ${BORDERS.borderRadius8}
${BORDERS.borderRadius8} 0;
`}
>
<OffsetVector {...offset.vector} />
Expand Down
2 changes: 2 additions & 0 deletions app/src/organisms/EmergencyStop/EstopPressedModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { useSelector } from 'react-redux'
import { useTranslation } from 'react-i18next'
import {
ALIGN_CENTER,
BORDERS,
COLORS,
DIRECTION_COLUMN,
DIRECTION_ROW,
Expand Down Expand Up @@ -100,6 +101,7 @@ function TouchscreenModal({
flexDirection={DIRECTION_ROW}
justifyContent={JUSTIFY_SPACE_BETWEEN}
alignItems={ALIGN_CENTER}
borderRadius={BORDERS.borderRadius8}
>
<StyledText as="p" fontWeight={TYPOGRAPHY.fontWeightSemiBold}>
{t('estop')}
Expand Down
2 changes: 1 addition & 1 deletion app/src/organisms/InterventionModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export function InterventionModal({
// reimplement when design system shares a modal component between desktop/ODD
return isOnDevice ? (
<Modal
border={`8px ${BORDERS.styleSolid} ${COLORS.blue50}`}
border={`${BORDERS.borderRadius8} ${BORDERS.styleSolid} ${COLORS.blue50}`}
modalSize="large"
header={{
backgroundColor: COLORS.blue50,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export function RunFailedModal({
gridGap={SPACING.spacing8}
maxHeight="11rem"
backgroundColor={COLORS.grey35}
borderRadius={BORDERS.borderRadius12}
borderRadius={BORDERS.borderRadius8}
padding={`${SPACING.spacing16} ${SPACING.spacing20}`}
>
<Flex flexDirection={DIRECTION_COLUMN} css={SCROLL_BAR_STYLE}>
Expand Down
Loading