Skip to content

feat: Styling tweaks#206

Open
lornakelly wants to merge 2 commits into
serverlessworkflow:mainfrom
lornakelly:143/styling-tweaks
Open

feat: Styling tweaks#206
lornakelly wants to merge 2 commits into
serverlessworkflow:mainfrom
lornakelly:143/styling-tweaks

Conversation

@lornakelly

@lornakelly lornakelly commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Contributes to: #143

Summary

Small improvements to styling

Changes

  • Move and style minimap to be more user friendly
  • Add cursor to sidepanel buttons
Screenshot 2026-06-26 at 14 21 52 Screenshot 2026-06-26 at 14 22 06

Signed-off-by: lornakelly <lornakelly88@gmail.com>
Copilot AI review requested due to automatic review settings June 26, 2026 13:18
@netlify

netlify Bot commented Jun 26, 2026

Copy link
Copy Markdown

Deploy Preview for swf-editor ready!

Name Link
🔨 Latest commit ad6a2d9
🔍 Latest deploy log https://app.netlify.com/projects/swf-editor/deploys/6a3e7e299cd7d80008fe14a6
😎 Deploy Preview https://deploy-preview-206--swf-editor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes small UI styling refinements in the Serverless Workflow diagram editor to improve minimap usability/appearance and make side-panel actions feel more interactive.

Changes:

  • Repositions the React Flow minimap to the bottom-left and adjusts its mask stroke width.
  • Introduces themeable CSS variables and React Flow minimap styling (light/dark).
  • Adds a pointer cursor to Mermaid export action buttons in the side panel.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

File Description
packages/serverless-workflow-diagram-editor/src/styles.css Adds light/dark CSS variables to theme the minimap.
packages/serverless-workflow-diagram-editor/src/side-panel/MermaidActions.tsx Adds cursor styling to Mermaid copy/download buttons.
packages/serverless-workflow-diagram-editor/src/react-flow/diagram/Diagram.tsx Moves the minimap to bottom-left and tweaks minimap props.
packages/serverless-workflow-diagram-editor/src/react-flow/diagram/Diagram.css Styles minimap via --xy-minimap-* variables and adds border/shadow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/serverless-workflow-diagram-editor/src/styles.css Outdated
Copilot AI review requested due to automatic review settings June 26, 2026 13:22
@lornakelly lornakelly force-pushed the 143/styling-tweaks branch from ae3cd90 to 3534106 Compare June 26, 2026 13:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Comment thread packages/serverless-workflow-diagram-editor/src/styles.css Outdated
Copilot AI review requested due to automatic review settings June 26, 2026 13:24
Signed-off-by: lornakelly <lornakelly88@gmail.com>
@lornakelly lornakelly force-pushed the 143/styling-tweaks branch from 3534106 to ad6a2d9 Compare June 26, 2026 13:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Copilot AI review requested due to automatic review settings June 26, 2026 13:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants