Skip to content

Commit

Permalink
fix height to match quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-tey committed Dec 25, 2024
1 parent 9e449e7 commit 6c30092
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/web/app/api/embed/leaderboard/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const GET = withEmbedToken(async ({ program, searchParams }) => {
partner: true,
link: true,
},
take: 10,
take: 20,
});

return NextResponse.json(
Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/app.dub.co/embed/leaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function EmbedLeaderboard() {
<Table
{...tableProps}
table={table}
containerClassName="border-none max-h-[16.5rem] overflow-auto"
containerClassName="border-none max-h-[26rem] overflow-auto"
/>
<div className="pointer-events-none absolute -bottom-px left-0 h-16 w-full rounded-b-lg bg-gradient-to-t from-white sm:bottom-0" />
</motion.div>
Expand Down
2 changes: 1 addition & 1 deletion apps/web/app/app.dub.co/embed/sales.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function EmbedSales({ salesCount }: { salesCount: number }) {
{...tableProps}
table={table}
containerClassName="rounded-md border border-neutral-200"
scrollWrapperClassName="min-h-[14.05rem]"
scrollWrapperClassName="min-h-[22rem]"
/>
</motion.div>
);
Expand Down
2 changes: 1 addition & 1 deletion apps/web/lib/partners/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const DUB_PARTNERS_PAYOUT_FEE = 0.03;
export const MIN_PAYOUT_AMOUNT = 10000; // min payout is $100
export const SHEET_MAX_ITEMS = 6;
export const SALES_PAGE_SIZE = 4;
export const SALES_PAGE_SIZE = 8;
2 changes: 1 addition & 1 deletion packages/embeds/core/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { DubInitResult, DubOptions, IframeMessage } from "./types";
const INLINE_CONTAINER_STYLES = {
position: "relative",
maxWidth: "1024px",
height: "960px",
height: "1000px",
margin: "0 auto",
};

Expand Down

0 comments on commit 6c30092

Please sign in to comment.