Skip to content

Commit

Permalink
Fix to keep the Alerts progress bar at the bottom of the screen when …
Browse files Browse the repository at this point in the history
…you have reached the max
  • Loading branch information
samejr committed Nov 19, 2024
1 parent 186942d commit 532fdca
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@ export default function Page() {
alertChannels.length === 0 ? "grid-rows-[1fr_auto]" : "grid-rows-[auto_1fr_auto]"
)}
>
{alertChannels.length > 0 && !requiresUpgrade && (
<div className="flex h-fit items-end justify-between p-2 pl-3">
<Header2 className="">Project alerts</Header2>
<div className="flex h-fit items-end justify-between p-2 pl-3">
<Header2 className="">Project alerts</Header2>
{alertChannels.length > 0 && !requiresUpgrade && (
<LinkButton
to={v3NewProjectAlertPath(organization, project)}
variant="primary/small"
Expand All @@ -188,8 +188,8 @@ export default function Page() {
>
New alert
</LinkButton>
</div>
)}
)}
</div>
<Table containerClassName={cn(alertChannels.length === 0 && "border-t-0")}>
<TableHeader>
<TableRow>
Expand Down

0 comments on commit 532fdca

Please sign in to comment.