Skip to content

Commit

Permalink
fix(billing ui): polish (#20751)
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajmajerik authored Mar 7, 2024
1 parent 37b2d62 commit def73c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/scenes/billing/BillingProduct.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ export const BillingProduct = ({ product }: { product: BillingProductV2Type }):
ref={ref}
>
<div className="border border-border rounded w-full bg-bg-light" ref={productRef}>
<div className="border-b border-border bg-mid p-4">
<div className="border-b border-border rounded-t bg-mid p-4">
<div className="flex gap-4 items-center justify-between">
{getProductIcon(product.name, product.icon_key, 'text-2xl')}
<div>
Expand Down Expand Up @@ -416,12 +416,12 @@ export const BillingProduct = ({ product }: { product: BillingProductV2Type }):
</div>
</div>
<div className="px-8">
{product.percentage_usage > 1 ? (
<LemonBanner type="error">
{product.percentage_usage > 1 && (
<LemonBanner className="mt-6" type="error">
You have exceeded the {customLimitUsd ? 'billing limit' : 'free tier limit'} for this
product.
</LemonBanner>
) : null}
)}
<div className="flex w-full items-center gap-x-8">
{product.contact_support && (!product.subscribed || isUnlicensedDebug) ? (
<div className="py-8">
Expand Down

0 comments on commit def73c6

Please sign in to comment.