diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/index.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/index.tsx index 747932c89e..2d7aac93dd 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/index.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/index.tsx @@ -24,7 +24,6 @@ import { hasFeatureFlag } from "lib/featureFlags"; import { formatLastPublishMessage } from "pages/FlowEditor/utils"; import React, { useEffect, useState } from "react"; import { useAsync } from "react-use"; -import { ImageWrapper } from "ui/editor/ImgInput"; import Permission from "ui/editor/Permission"; import Input from "ui/shared/Input"; @@ -101,6 +100,15 @@ const TabList = styled(Box)(({ theme }) => ({ }, })); +const ImageWrapper = styled(Box)(() => ({ + width: "auto", + height: 24, + display: "flex", + justifyContent: "center", + alignItems: "center", + padding: "4px", +})); + const StyledTab = styled(Tab)(({ theme }) => ({ position: "relative", zIndex: 1, @@ -317,7 +325,7 @@ const Sidebar: React.FC<{ {`Links to Copy`} - +