Skip to content

Commit

Permalink
fix(app): fix factory mode advanced setting style (#16159)
Browse files Browse the repository at this point in the history
In robot advanced settings, add divider under 'Factory Mode' advanced
setting. Also, align 'Download logs' button to end of flex container.

Closes RQA-3127
  • Loading branch information
ncdiehl11 authored Aug 29, 2024
1 parent f789332 commit 7459249
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import last from 'lodash/last'
import { GET, request } from '@opentrons/api-client'
import {
ALIGN_CENTER,
ALIGN_END,
Box,
Flex,
JUSTIFY_SPACE_BETWEEN,
Expand Down Expand Up @@ -130,6 +131,7 @@ export function Troubleshooting({
marginLeft={SPACING_AUTO}
onClick={handleClick}
id="AdvancedSettings_downloadLogsButton"
alignSelf={ALIGN_END}
>
{t('download_logs')}
</TertiaryButton>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,14 +220,15 @@ export function RobotSettingsAdvanced({
handleUpdateBuildroot(robot)
}}
/>
<Divider marginY={SPACING.spacing16} />
{isFlex ? (
<>
<Divider marginY={SPACING.spacing16} />
<FactoryMode
isRobotBusy={isRobotBusy || isEstopNotDisengaged}
setShowFactoryModeSlideout={setShowFactoryModeSlideout}
sn={sn}
/>
<Divider marginY={SPACING.spacing16} />
</>
) : null}
<Troubleshooting robotName={robotName} />
Expand Down

0 comments on commit 7459249

Please sign in to comment.