Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfung committed Jan 21, 2025
1 parent 0fafd15 commit 9898e93
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ export function LDAPCredentialForm({
)}
/>
<Separator className="my-2" />
<div className="flex justify-between gap-4">
<div className="flex flex-col sm:flex-row sm:justify-between gap-4">
<Button
onClick={onTestLdapCredential}
type="button"
Expand All @@ -466,7 +466,7 @@ export function LDAPCredentialForm({
<IconSpinner className="mr-2 h-4 w-4 animate-spin" />
)}
</Button>
<div className="flex items-center gap-4">
<div className="flex justify-end sm:justify-start items-center gap-4">
<Button
type="button"
variant="ghost"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -277,17 +277,20 @@ export default function OAuthCredentialForm({

{oauthRedirectUrlData && (
<FormItem className="mt-4">
<div className="flex flex-col gap-2 rounded-lg border px-3 py-2">
<div className="flex flex-col gap-2 rounded-lg border px-3 py-2 overflow-hidden">
<div className="text-sm text-muted-foreground">
Create your OAuth2 application with the following information
</div>
<div className="flex items-center justify-between">
<div className="flex flex-col sm:flex-row sm:items-center justify-between">
<div className="text-sm font-medium">
Authorization callback URL
</div>
<span className="flex items-center text-sm">
{oauthRedirectUrlData.oauthCallbackUrl}
<span className="truncate">
{oauthRedirectUrlData.oauthCallbackUrl}
</span>
<CopyButton
className="shrink-0"
type="button"
value={oauthRedirectUrlData.oauthCallbackUrl!}
/>
Expand Down

0 comments on commit 9898e93

Please sign in to comment.