Skip to content

Use Multiplication unicode symbol for delete#666

Open
urre wants to merge 1 commit intojerosoler:masterfrom
urre:feat/fix-delete-button
Open

Use Multiplication unicode symbol for delete#666
urre wants to merge 1 commit intojerosoler:masterfrom
urre:feat/fix-delete-button

Conversation

@urre
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown

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