From 5c94dd584bd99945c305c58a7ca6b09c5d5b095e Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Tue, 20 Apr 2021 21:46:07 +0200 Subject: [PATCH] fixing comment on issue: (#522) * fixing comment on issue: https://github.com/keycloak/keycloak-admin-ui/issues/428#issuecomment-818504696 * fixed top margin * fixed devider length --- src/clients/AdvancedTab.tsx | 2 +- src/clients/ClientSettings.tsx | 2 +- src/clients/credentials/Credentials.tsx | 194 ++++++++++++------------ 3 files changed, 100 insertions(+), 98 deletions(-) diff --git a/src/clients/AdvancedTab.tsx b/src/clients/AdvancedTab.tsx index c7a3b51f85..17466bc3c4 100644 --- a/src/clients/AdvancedTab.tsx +++ b/src/clients/AdvancedTab.tsx @@ -177,7 +177,7 @@ export const AdvancedTab = ({ } return ( - + <> diff --git a/src/clients/ClientSettings.tsx b/src/clients/ClientSettings.tsx index 1305b625f6..7da0cb38a2 100644 --- a/src/clients/ClientSettings.tsx +++ b/src/clients/ClientSettings.tsx @@ -40,7 +40,7 @@ export const ClientSettings = ({ save, reset }: ClientSettingsProps) => { return ( <> { }); return ( - - - - - - - } - > - ( - - )} - /> - - {clientAuthenticatorType === "client-jwt" && } - {clientAuthenticatorType === "client-x509" && } - - - - - + ( + + )} + /> + + {clientAuthenticatorType === "client-jwt" && } + {clientAuthenticatorType === "client-x509" && } + + + + + {(clientAuthenticatorType === "client-secret" || + clientAuthenticatorType === "client-secret-jwt") && } {(clientAuthenticatorType === "client-secret" || clientAuthenticatorType === "client-secret-jwt") && ( - <> - + - + )} - - - - - - } - > - - - - {accessToken} - - - - - - - - - - + + + + + } + > + + + + {accessToken} + + + + + + + + + + + ); };