From f9d9dd17e87dbc48fb0117bd383ef04408fd29dd Mon Sep 17 00:00:00 2001 From: Aleix Date: Mon, 30 Oct 2023 12:12:13 +0100 Subject: [PATCH] fix: Workshop content alignment (#1541) --- catalog/ui/src/app/Workshop/WorkshopContent.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/catalog/ui/src/app/Workshop/WorkshopContent.tsx b/catalog/ui/src/app/Workshop/WorkshopContent.tsx index 9821b48f1..7618b35b7 100644 --- a/catalog/ui/src/app/Workshop/WorkshopContent.tsx +++ b/catalog/ui/src/app/Workshop/WorkshopContent.tsx @@ -59,7 +59,7 @@ const WorkshopContent: React.FC<{ }} /> ) : null, - [userAssignment.messages], + [userAssignment.messages] ); if (userAssignment.labUserInterface?.url && labUserInterfaceRedirect === true) { @@ -127,7 +127,7 @@ const WorkshopContent: React.FC<{ {yaml.dump( Object.keys(userAssignment.data).length === 1 ? userAssignment.data[Object.keys(userAssignment.data)[0]] - : userAssignment.data, + : userAssignment.data )} @@ -136,6 +136,10 @@ const WorkshopContent: React.FC<{ )} + + + + {templateHtml ? (