Fix click targets for flow links in hover cards
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -894,6 +894,7 @@
|
|||||||
|
|
||||||
.clickable-value, .node-name {
|
.clickable-value, .node-name {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -1410,7 +1411,6 @@
|
|||||||
const val = document.createElement('span');
|
const val = document.createElement('span');
|
||||||
val.className = 'clickable-value';
|
val.className = 'clickable-value';
|
||||||
val.textContent = item;
|
val.textContent = item;
|
||||||
val.style.cursor = 'pointer';
|
|
||||||
val.addEventListener('click', (e) => {
|
val.addEventListener('click', (e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
if (flowInfo && flowInfo.universes && flowInfo.universes[idx] !== undefined) {
|
if (flowInfo && flowInfo.universes && flowInfo.universes[idx] !== undefined) {
|
||||||
@@ -1472,7 +1472,6 @@
|
|||||||
const val = document.createElement('span');
|
const val = document.createElement('span');
|
||||||
val.className = 'clickable-value';
|
val.className = 'clickable-value';
|
||||||
val.textContent = line;
|
val.textContent = line;
|
||||||
val.style.cursor = 'pointer';
|
|
||||||
val.addEventListener('click', (e) => {
|
val.addEventListener('click', (e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
if (sourceNodeId && peerNodeId) {
|
if (sourceNodeId && peerNodeId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user