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

Feature/provide copy paste between linking and mapping editors cmem 5055 #857

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
increased spacing between actions for selection menu
arausly committed Jan 17, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit c332a7bc2d93ebdf408a676887a468e2b3ee9d70
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { EdgeTools } from "@eccenca/gui-elements/src/extensions/react-flow";
import { XYPosition } from "react-flow-renderer/dist/types";
import { Button } from "@eccenca/gui-elements";
import { Button, Spacing } from "@eccenca/gui-elements";
import { useTranslation } from "react-i18next";

interface SelectionMenuProps {
@@ -40,13 +40,15 @@ export const SelectionMenu = ({
openOnTargetFocus: false,
}}
small
hasStateDanger
onClick={() => {
onClose();
removeSelection();
}}
>
{t("RuleEditor.selection.menu.delete.label")}
</Button>
<Spacing size="tiny" />
<Button
minimal
icon="item-clone"
@@ -65,6 +67,7 @@ export const SelectionMenu = ({
>
{t("RuleEditor.selection.menu.clone.label")}
</Button>
<Spacing size="tiny" />
<Button
minimal
icon="item-copy"