From 75e7dfae62b85d7b27aa7e74d41ab14415004597 Mon Sep 17 00:00:00 2001 From: Phillip Lovelace Date: Fri, 28 Jun 2024 15:51:43 -0700 Subject: [PATCH] style: pds icon adjustments --- .../lib/stylesheets/components/_button.scss | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/packages/sage-assets/lib/stylesheets/components/_button.scss b/packages/sage-assets/lib/stylesheets/components/_button.scss index 99c6aa40d6..320a7f3bc2 100644 --- a/packages/sage-assets/lib/stylesheets/components/_button.scss +++ b/packages/sage-assets/lib/stylesheets/components/_button.scss @@ -500,7 +500,9 @@ $-btn-loading-min-height: rem(36px); } } } - + pds-icon { + pointer-events: none; + } // NOTE: Icon generation consolidated in `core/_icons.scss` } @@ -675,7 +677,8 @@ a.sage-btn { } &::before, - span { + span, + pds-icon { z-index: 1; } } @@ -784,11 +787,6 @@ a.sage-btn { background-color: transparent; } } - - pds-icon { - z-index: 1; - pointer-events: none; - } } .sage-btn--small {