Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

improve faq & quickstart styles

Steven Teyd48346796c89
diff --git a/apps/web/app/app.dub.co/embed/inline/faq.tsx b/apps/web/app/app.dub.co/embed/inline/faq.tsx
index 901961f65f..60d352afad 100644
--- a/apps/web/app/app.dub.co/embed/inline/faq.tsx
+++ b/apps/web/app/app.dub.co/embed/inline/faq.tsx
@@ -32,17 +32,17 @@ export function EmbedFAQ({ program }: { program: Program }) {
];
return (
<motion.div
- className="rounded-lg border border-neutral-100 bg-white px-8 py-4"
+ className="rounded-lg border border-neutral-100 bg-white px-4 py-2 sm:px-8 sm:py-4"
{...TAB_ITEM_ANIMATION_SETTINGS}
>
<Accordion type="multiple">
{items.map((item, idx) => (
<AccordionItem key={idx} value={idx.toString()}>
<AccordionTrigger className="py-2 text-neutral-700" variant="plus">
- <h3 className="text-base">{item.title}</h3>
+ <h3 className="text-left text-sm sm:text-base">{item.title}</h3>
</AccordionTrigger>
<AccordionContent>
- <BlockMarkdown className="py-2 text-neutral-500">
+ <BlockMarkdown className="py-2 text-left text-sm text-neutral-500 sm:text-base">
{item.content}
</BlockMarkdown>
</AccordionContent>
diff --git a/apps/web/app/app.dub.co/embed/inline/quickstart.tsx b/apps/web/app/app.dub.co/embed/inline/quickstart.tsx
index 095fd44a54..4acbfc7fff 100644
--- a/apps/web/app/app.dub.co/embed/inline/quickstart.tsx
+++ b/apps/web/app/app.dub.co/embed/inline/quickstart.tsx
@@ -113,7 +113,7 @@ export function EmbedQuickstart({
<CarouselNavBar variant="simple" />
</Carousel>
) : (
- <div className="grid-cols-3 gap-4 lg:grid">
+ <div className="grid grid-cols-3 gap-4">
{items.map((item) => (
<div
key={item.title}