From 2f97787dfb79d6c47cf8967253b654970aeadf0a Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 25 Apr 2023 09:32:06 +0100 Subject: [PATCH] Fix hidden gutter cell expand icons still having a tooltip --- .../src/components/grid/cells/GutterCell.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/frontend-core/src/components/grid/cells/GutterCell.svelte b/packages/frontend-core/src/components/grid/cells/GutterCell.svelte index d7d197758d..d9fd09fb6c 100644 --- a/packages/frontend-core/src/components/grid/cells/GutterCell.svelte +++ b/packages/frontend-core/src/components/grid/cells/GutterCell.svelte @@ -113,11 +113,15 @@ } .expand { opacity: 0; - pointer-events: none; margin-right: 4px; } + .expand :global(.spectrum-Icon) { + pointer-events: none; + } .expand.visible { opacity: 1; + } + .expand.visible :global(.spectrum-Icon) { pointer-events: all; }