Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Multiplication unicode symbol for delete #666

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

urre
Copy link

@urre urre commented Mar 7, 2023

This PR replaces the usage of a normal "x" text with the Unicode Character “✕” (U+2715) instead. It looks better to represent "close" or "remove".

@jerosoler
Copy link
Owner

Thanks for the PR.

Currently I am only fixing bug and I am not adding changes.

@jerosoler jerosoler self-requested a review March 8, 2023 10:09
@skahmad
Copy link

skahmad commented Apr 25, 2024

  1. add stylesheet in src/drawflow.css

.drawflow-delete span {
position: relative;
left: -8px;
top: 5px;
}

  1. change line number 533 under context menu method to the blow code
    from : deletebox.innerHTML = "x";
    to: deletebox.innerHTML = "";

image

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