diff --git a/src/components/keycloak-card/KeycloakCard.tsx b/src/components/keycloak-card/KeycloakCard.tsx index c626ec706f..08f0fafd13 100644 --- a/src/components/keycloak-card/KeycloakCard.tsx +++ b/src/components/keycloak-card/KeycloakCard.tsx @@ -9,6 +9,8 @@ import { Dropdown, KebabToggle, Label, + Flex, + FlexItem, } from "@patternfly/react-core"; import "./keycloak-card.css"; @@ -53,15 +55,16 @@ export const KeycloakCard = ({ - {footerText && footerText} - {labelText && ( - - )} + + + {footerText && footerText} + + + {labelText && ( + + )} + + ); diff --git a/src/components/keycloak-card/keycloak-card.css b/src/components/keycloak-card/keycloak-card.css index 5777ebed26..550a27a8a1 100644 --- a/src/components/keycloak-card/keycloak-card.css +++ b/src/components/keycloak-card/keycloak-card.css @@ -1,3 +1,3 @@ - .keycloak__keycloak-card__footer-label { - margin-left: var(--pf-global--spacer--lg); - } +.keycloak-admin--keycloak-card__footer-text { + --pf-l-flex--spacer: var(--pf-l-flex--spacer--lg); +} diff --git a/src/user-federation/UserFederationSection.tsx b/src/user-federation/UserFederationSection.tsx index 02e6c3531e..f2f456a450 100644 --- a/src/user-federation/UserFederationSection.tsx +++ b/src/user-federation/UserFederationSection.tsx @@ -100,7 +100,10 @@ export const UserFederationSection = () => { , ]; return ( - +