From ffd1c168618ed454958486f1654e6e219ac194e3 Mon Sep 17 00:00:00 2001
From: Nick Diehl <47604184+ncdiehl11@users.noreply.github.com>
Date: Mon, 12 Aug 2024 16:59:19 -0400
Subject: [PATCH] fix(app): shrink Setup Robot Modal links to fit content
(#15974)
On modal produced by desktop app `DeviceLanding` "See how to setup a new
robot" link, shrink link clickable area to fit content.
Closes RQA-2961
---
.../Devices/DevicesLanding/NewRobotSetupHelp.tsx | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/app/src/pages/Devices/DevicesLanding/NewRobotSetupHelp.tsx b/app/src/pages/Devices/DevicesLanding/NewRobotSetupHelp.tsx
index a453f07935c..df13ac78631 100644
--- a/app/src/pages/Devices/DevicesLanding/NewRobotSetupHelp.tsx
+++ b/app/src/pages/Devices/DevicesLanding/NewRobotSetupHelp.tsx
@@ -5,6 +5,7 @@ import {
ALIGN_FLEX_END,
DIRECTION_COLUMN,
Flex,
+ FLEX_MAX_CONTENT,
Link,
PrimaryButton,
SPACING,
@@ -50,10 +51,16 @@ export function NewRobotSetupHelp(): JSX.Element {
{t('new_robot_instructions')}
-
+
{t('opentrons_flex_quickstart_guide')}
-
+
{t('ot2_quickstart_guide')}