From a00e6bce01b368d9cb6da5ec2af1d833f4d785c1 Mon Sep 17 00:00:00 2001 From: Katie Langerman Date: Thu, 3 Mar 2022 21:19:58 -0800 Subject: [PATCH] [Bug fix] Handle pointer-events on ActionList visuals (#1978) * pointer-events none on visuals * Create unlucky-oranges-worry.md * Stylelint auto-fixes Co-authored-by: Actions Auto Build --- .changeset/unlucky-oranges-worry.md | 5 +++++ src/actionlist/action-list-item.scss | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/unlucky-oranges-worry.md diff --git a/.changeset/unlucky-oranges-worry.md b/.changeset/unlucky-oranges-worry.md new file mode 100644 index 00000000..bf1bb0c9 --- /dev/null +++ b/.changeset/unlucky-oranges-worry.md @@ -0,0 +1,5 @@ +--- +"@primer/css": patch +--- + +Handle pointer-events on ActionList visuals diff --git a/src/actionlist/action-list-item.scss b/src/actionlist/action-list-item.scss index a5fd6554..f6582778 100644 --- a/src/actionlist/action-list-item.scss +++ b/src/actionlist/action-list-item.scss @@ -526,6 +526,7 @@ display: flex; min-height: $actionList-item-height-sm; color: var(--color-fg-muted); // if visual is text + pointer-events: none; fill: var(--color-fg-muted); align-items: center; }