fix: ui bugs in settings page (#12975)

This commit is contained in:
Udit Takkar authored and GitHub committed 2024-01-01 22:50:56 +00:00
1 parent 6f942cfcac
commit 1c2fff5447
2 files changed
+3 -3

No files matched your search

@@ -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>
@@ -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} />