From f519ce19259573bc76a5a6cf43c8642918a6b7a1 Mon Sep 17 00:00:00 2001 From: Ganapathy Shankar Date: Sat, 18 Nov 2023 14:02:53 +0530 Subject: [PATCH] UI improvements --- Dockerfile | 2 +- packages/ui/src/views/canvas/CanvasNode.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e485cd3e..26dfc550 100644 --- a/Dockerfile +++ b/Dockerfile @@ -36,6 +36,6 @@ COPY . . RUN yarn build -EXPOSE 3000 +EXPOSE 8080 CMD [ "yarn", "start" ] diff --git a/packages/ui/src/views/canvas/CanvasNode.js b/packages/ui/src/views/canvas/CanvasNode.js index 7b59ec23..9c8786be 100644 --- a/packages/ui/src/views/canvas/CanvasNode.js +++ b/packages/ui/src/views/canvas/CanvasNode.js @@ -154,7 +154,10 @@ const CanvasNode = ({ data }) => { content={false} sx={{ padding: 0, - borderColor: data.selected ? NodeHeader : NodeBorder + borderColor: data.selected ? NodeHeader : NodeBorder, + '&:hover': { + borderColor: data.selected ? NodeHeader : NodeHeader + } }} border={false} >