From 7a4d3ec50634fd4c78aabc7ec0e85cfacff344ce Mon Sep 17 00:00:00 2001 From: Victor Lyuboslavsky <2685025+getvictor@users.noreply.github.com> Date: Wed, 11 Mar 2026 19:15:36 -0500 Subject: [PATCH] Fixed table shifting left when clicking the copy hash icon (#41411) **Related issue:** Resolves #40607 # Checklist for submitter - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. ## Testing - [x] QA'd all new/changed functionality manually --- changes/40607-copy-icon | 1 + .../SoftwarePage/components/tables/HashCell/_styles.scss | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 changes/40607-copy-icon diff --git a/changes/40607-copy-icon b/changes/40607-copy-icon new file mode 100644 index 0000000000..c6a3e84c11 --- /dev/null +++ b/changes/40607-copy-icon @@ -0,0 +1 @@ +- Fixed table shifting left when clicking the copy hash icon in host software inventory. diff --git a/frontend/pages/SoftwarePage/components/tables/HashCell/_styles.scss b/frontend/pages/SoftwarePage/components/tables/HashCell/_styles.scss index 00627f0b4c..53bac3f70c 100644 --- a/frontend/pages/SoftwarePage/components/tables/HashCell/_styles.scss +++ b/frontend/pages/SoftwarePage/components/tables/HashCell/_styles.scss @@ -2,6 +2,7 @@ display: flex; flex-direction: row; gap: $pad-xsmall; + position: relative; &__sha256 { display: flex; @@ -11,8 +12,8 @@ &__copy-overlay { display: flex; - position: relative; - left: -100px; // diff from installer details widget + position: absolute; + right: 0; height: 25px; // diff from installer details widget align-self: center; // diff from installer details widget }