fix clicking bug

This commit is contained in:
Mutasem 2021-10-13 17:56:24 +02:00
parent ea376af13a
commit d3cf26c083

View file

@ -108,7 +108,6 @@ import Vue from 'vue';
import { import {
Connection, Connection,
Overlay, Overlay,
OverlaySpec,
} from 'jsplumb'; } from 'jsplumb';
import { MessageBoxInputData } from 'element-ui/types/message-box'; import { MessageBoxInputData } from 'element-ui/types/message-box';
import { jsPlumb, Endpoint, OnConnectionBindInfo } from 'jsplumb'; import { jsPlumb, Endpoint, OnConnectionBindInfo } from 'jsplumb';
@ -2457,14 +2456,19 @@ export default mixins(
> div { > div {
border: 2px solid var(--color-text-base); border: 2px solid var(--color-text-base);
background-color: var(--color-background-xlight); background-color: var(--color-background-xlight);
font-size: var(--font-size-2xs);
border-radius: var(--border-radius-base); border-radius: var(--border-radius-base);
height: var(--spacing-l); height: var(--spacing-l);
width: var(--spacing-l); width: var(--spacing-l);
cursor: pointer;
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
cursor: pointer;
svg {
pointer-events: none;
font-size: var(--font-size-2xs);
}
&:first-child { &:first-child {
margin-right: var(--spacing-xs); margin-right: var(--spacing-xs);