From d1cb7d9468613502daaf456a76037910a939a6fa Mon Sep 17 00:00:00 2001 From: Micah Jones <48889844+micahjones13@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:56:35 -0600 Subject: [PATCH] fix(button): icon-only borderless bug (#1345) * fix(button): icon-only borderless bug * docs: changeset --- .changeset/slow-schools-grow.md | 11 +++++++++++ .../src/components/rux-button/rux-button.scss | 1 + 2 files changed, 12 insertions(+) create mode 100644 .changeset/slow-schools-grow.md diff --git a/.changeset/slow-schools-grow.md b/.changeset/slow-schools-grow.md new file mode 100644 index 000000000..8dc2f7020 --- /dev/null +++ b/.changeset/slow-schools-grow.md @@ -0,0 +1,11 @@ +--- +"@astrouxds/astro-web-components": patch +"angular-workspace": patch +"@astrouxds/angular": patch +"astro-angular": patch +"astro-react": patch +"astro-vue": patch +"@astrouxds/react": patch +--- + +Fixed button bug when clicking and dragging over an icon-only, borderless button diff --git a/packages/web-components/src/components/rux-button/rux-button.scss b/packages/web-components/src/components/rux-button/rux-button.scss index 042893680..8f550855a 100644 --- a/packages/web-components/src/components/rux-button/rux-button.scss +++ b/packages/web-components/src/components/rux-button/rux-button.scss @@ -116,6 +116,7 @@ ::slotted(rux-icon) { color: var(--color-background-interactive-default); } + background: none; } rux-icon, ::slotted(rux-icon) {