From 7459249b3fc3174a6abfc065363c68b0a9e6f9c0 Mon Sep 17 00:00:00 2001
From: Nick Diehl <47604184+ncdiehl11@users.noreply.github.com>
Date: Thu, 29 Aug 2024 14:44:03 -0400
Subject: [PATCH] fix(app): fix factory mode advanced setting style (#16159)
In robot advanced settings, add divider under 'Factory Mode' advanced
setting. Also, align 'Download logs' button to end of flex container.
Closes RQA-3127
---
.../Devices/RobotSettings/AdvancedTab/Troubleshooting.tsx | 2 ++
.../organisms/Devices/RobotSettings/RobotSettingsAdvanced.tsx | 3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/app/src/organisms/Devices/RobotSettings/AdvancedTab/Troubleshooting.tsx b/app/src/organisms/Devices/RobotSettings/AdvancedTab/Troubleshooting.tsx
index 227c9827e4e..9d53c88bcf7 100644
--- a/app/src/organisms/Devices/RobotSettings/AdvancedTab/Troubleshooting.tsx
+++ b/app/src/organisms/Devices/RobotSettings/AdvancedTab/Troubleshooting.tsx
@@ -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,
@@ -130,6 +131,7 @@ export function Troubleshooting({
marginLeft={SPACING_AUTO}
onClick={handleClick}
id="AdvancedSettings_downloadLogsButton"
+ alignSelf={ALIGN_END}
>
{t('download_logs')}
diff --git a/app/src/organisms/Devices/RobotSettings/RobotSettingsAdvanced.tsx b/app/src/organisms/Devices/RobotSettings/RobotSettingsAdvanced.tsx
index 9ae9afdcee4..601967eb602 100644
--- a/app/src/organisms/Devices/RobotSettings/RobotSettingsAdvanced.tsx
+++ b/app/src/organisms/Devices/RobotSettings/RobotSettingsAdvanced.tsx
@@ -220,14 +220,15 @@ export function RobotSettingsAdvanced({
handleUpdateBuildroot(robot)
}}
/>
+
{isFlex ? (
<>
-
+
>
) : null}