From 062044b639fb946861fde007cf77e494d8f5ff90 Mon Sep 17 00:00:00 2001 From: Celia Amador Date: Wed, 4 Mar 2026 17:28:27 +0100 Subject: [PATCH] EDM-3332: Prevent copy button border from being cut --- .../modals/LoginCommandModal/LoginCommandModal.css | 4 ++++ .../modals/LoginCommandModal/LoginCommandModal.tsx | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 libs/ui-components/src/components/modals/LoginCommandModal/LoginCommandModal.css diff --git a/libs/ui-components/src/components/modals/LoginCommandModal/LoginCommandModal.css b/libs/ui-components/src/components/modals/LoginCommandModal/LoginCommandModal.css new file mode 100644 index 000000000..4aa9e9f87 --- /dev/null +++ b/libs/ui-components/src/components/modals/LoginCommandModal/LoginCommandModal.css @@ -0,0 +1,4 @@ +.fctl-login-command-modal__clipboard-copy .pf-v6-c-button { + --pf-v6-c-button--ScaleX: 0.95; + --pf-v6-c-button--ScaleY: 0.95; +} diff --git a/libs/ui-components/src/components/modals/LoginCommandModal/LoginCommandModal.tsx b/libs/ui-components/src/components/modals/LoginCommandModal/LoginCommandModal.tsx index 89f7bc30c..e87adb635 100644 --- a/libs/ui-components/src/components/modals/LoginCommandModal/LoginCommandModal.tsx +++ b/libs/ui-components/src/components/modals/LoginCommandModal/LoginCommandModal.tsx @@ -16,6 +16,8 @@ import { useTranslation } from '../../../hooks/useTranslation'; import { useFetch } from '../../../hooks/useFetch'; import { getErrorMessage } from '../../../utils/error'; +import './LoginCommandModal.css'; + type LoginCommand = { providerName: string; displayName: string; @@ -117,7 +119,12 @@ const LoginCommandModal = ({ onClose }: LoginCommandModalProps) => { )} - + {cmd.command}