From eb898f744f7c3df92635409a136809473b4de0c1 Mon Sep 17 00:00:00 2001 From: Alex Grozav Date: Fri, 28 Jul 2023 12:48:26 +0300 Subject: [PATCH] fix: Show NodeIcon tooltips by removing pointer-events: none (#6777) fix: show NodeIcon tooltips by removing pointer-events: none --- .../design-system/src/components/N8nNodeIcon/NodeIcon.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/design-system/src/components/N8nNodeIcon/NodeIcon.vue b/packages/design-system/src/components/N8nNodeIcon/NodeIcon.vue index 7f71177992..91863a27a2 100644 --- a/packages/design-system/src/components/N8nNodeIcon/NodeIcon.vue +++ b/packages/design-system/src/components/N8nNodeIcon/NodeIcon.vue @@ -126,12 +126,16 @@ export default defineComponent({ display: flex; justify-content: center; align-items: center; - pointer-events: none; svg { max-width: 100%; max-height: 100%; } + + img, + svg { + pointer-events: none; + } } .nodeIconPlaceholder { text-align: center;