Skip to content

Commit

Permalink
fix: ui bugs in settings page
Browse files Browse the repository at this point in the history
  • Loading branch information
Udit-takkar committed Jan 1, 2024
1 parent 6f942cf commit 68460ec
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/features/ee/teams/pages/team-profile-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -167,7 +167,7 @@ const ProfileView = () => {
</>
)}
</div>
<div className="">
<div>
<Link href={permalink} passHref={true} target="_blank">
<LinkIconButton Icon={ExternalLink}>{t("preview")}</LinkIconButton>
</Link>
Expand Down
2 changes: 1 addition & 1 deletion packages/features/webhooks/pages/webhooks-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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} />
Expand Down

0 comments on commit 68460ec

Please sign in to comment.