From 3ff0945bd06dc9760d79e067c547ea54dc514dbb Mon Sep 17 00:00:00 2001 From: Jacob Shandling <61553566+jacobshandling@users.noreply.github.com> Date: Fri, 16 Dec 2022 14:32:51 -0800 Subject: [PATCH] UI: set local min-height to 0 to restore proper enroll secret icon alignment (#9043) * set local min-height to 0 restores intended alignment * Locally fix same issue on Get API Token modal * Add changefile --- changes/issue-9025-restore-correct-icon-alignment-on-input | 2 ++ .../EnrollSecretTable/EnrollSecretRow/_styles.scss | 1 + frontend/components/EnrollSecrets/SecretField/_styles.scss | 2 ++ 3 files changed, 5 insertions(+) create mode 100644 changes/issue-9025-restore-correct-icon-alignment-on-input diff --git a/changes/issue-9025-restore-correct-icon-alignment-on-input b/changes/issue-9025-restore-correct-icon-alignment-on-input new file mode 100644 index 0000000000..89f763bd97 --- /dev/null +++ b/changes/issue-9025-restore-correct-icon-alignment-on-input @@ -0,0 +1,2 @@ +- Fixed the alignment of the "copy" and "show" button icons in the manage enroll secrets and get API + token modals diff --git a/frontend/components/EnrollSecrets/EnrollSecretTable/EnrollSecretRow/_styles.scss b/frontend/components/EnrollSecrets/EnrollSecretTable/EnrollSecretRow/_styles.scss index f09e81ca72..7ac3b0b149 100644 --- a/frontend/components/EnrollSecrets/EnrollSecretTable/EnrollSecretRow/_styles.scss +++ b/frontend/components/EnrollSecrets/EnrollSecretTable/EnrollSecretRow/_styles.scss @@ -17,6 +17,7 @@ margin-bottom: 0; width: 500px; height: 0; + min-height: 0; } .input-field { diff --git a/frontend/components/EnrollSecrets/SecretField/_styles.scss b/frontend/components/EnrollSecrets/SecretField/_styles.scss index dadfe1273e..8640b5815b 100644 --- a/frontend/components/EnrollSecrets/SecretField/_styles.scss +++ b/frontend/components/EnrollSecrets/SecretField/_styles.scss @@ -8,6 +8,8 @@ font-weight: $bold; margin-top: $pad-small; width: 100%; + height: 0; + min-height: 0; } .input-field {