fix: ui bugs in settings page (#12975)

This commit is contained in:
Udit Takkar 2024-01-02 04:20:56 +05:30 committed by GitHub
parent 6f942cfcac
commit 1c2fff5447
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -151,7 +151,7 @@ const ProfileView = () => {
{isAdmin ? (
<TeamProfileForm team={team} />
) : (
<div className="flex">
<div className="border-subtle flex rounded-b-xl border border-t-0 px-4 py-8 sm:px-6">
<div className="flex-grow">
<div>
<Label className="text-emphasis">{t("team_name")}</Label>
@ -167,7 +167,7 @@ const ProfileView = () => {
</>
)}
</div>
<div className="">
<div>
<Link href={permalink} passHref={true} target="_blank">
<LinkIconButton Icon={ExternalLink}>{t("preview")}</LinkIconButton>
</Link>

View File

@ -78,7 +78,7 @@ const WebhooksView = () => {
<></>
)
}
borderInShellHeader={data && data.profiles.length === 1}
borderInShellHeader={(data && data.profiles.length === 1) || !data?.webhookGroups?.length}
/>
<div>
<WebhooksList webhooksByViewer={data} />