From a0775e8d130f90a3a74650ce836c354998c17a5d Mon Sep 17 00:00:00 2001 From: Rory Doak Date: Fri, 29 Nov 2024 16:07:47 +0000 Subject: [PATCH] add backgrnd color --- .../src/@planx/components/ExternalPortal/Editor.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/editor.planx.uk/src/@planx/components/ExternalPortal/Editor.tsx b/editor.planx.uk/src/@planx/components/ExternalPortal/Editor.tsx index 4030cdb4ab..dc8eece31e 100644 --- a/editor.planx.uk/src/@planx/components/ExternalPortal/Editor.tsx +++ b/editor.planx.uk/src/@planx/components/ExternalPortal/Editor.tsx @@ -148,7 +148,13 @@ const ExternalPortalForm: React.FC<{ role="status" aria-atomic={true} aria-live="polite" - ListboxProps={{ sx: { padding: 0 } }} + fullWidth + ListboxProps={{ + sx: (theme) => ({ + paddingY: 0, + backgroundColor: theme.palette.background.default, + }), + }} onChange={(_event, newValue: Flow) => { formik.setFieldValue("flowId", newValue.id); }}