Skip to content

Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.

fix(dashboard): widen insights and shopping side sheets with variant-scoped classes (#886)

Boboe710e7e2fbcc
diff --git a/web/src/app/[locale]/(dashboard)/dashboard/insights/_metric-breakdown-sheet.tsx b/web/src/app/[locale]/(dashboard)/dashboard/insights/_metric-breakdown-sheet.tsx
index 1a09a7a91..2df33316b 100644
--- a/web/src/app/[locale]/(dashboard)/dashboard/insights/_metric-breakdown-sheet.tsx
+++ b/web/src/app/[locale]/(dashboard)/dashboard/insights/_metric-breakdown-sheet.tsx
@@ -90,7 +90,7 @@ export function MetricBreakdownSheet({ brandId, metric, onOpenChange, filters }:
return (
<Sheet open={open} onOpenChange={onOpenChange}>
- <SheetContent className="w-full flex flex-col gap-0 p-0 sm:max-w-xl">
+ <SheetContent className="flex flex-col gap-0 p-0 data-[side=right]:w-full data-[side=right]:sm:max-w-xl">
<SheetHeader className="border-b px-5 py-4">
<SheetTitle className="text-base">{title} Breakdown</SheetTitle>
<SheetDescription className="text-xs">
diff --git a/web/src/app/[locale]/(dashboard)/dashboard/shopping/page.tsx b/web/src/app/[locale]/(dashboard)/dashboard/shopping/page.tsx
index 31b64493b..592eae120 100644
--- a/web/src/app/[locale]/(dashboard)/dashboard/shopping/page.tsx
+++ b/web/src/app/[locale]/(dashboard)/dashboard/shopping/page.tsx
@@ -635,7 +635,7 @@ function PromptsTabContent({
</div>
<Sheet open={!!selectedPrompt} onOpenChange={(open) => !open && setSelectedPrompt(null)}>
- <SheetContent className="w-full sm:max-w-md overflow-y-auto px-4">
+ <SheetContent className="data-[side=right]:w-full data-[side=right]:sm:max-w-md overflow-y-auto px-4">
<SheetHeader className="pb-4 border-b">
<SheetTitle>{t('drawerTitle')}</SheetTitle>
<SheetDescription>{t('drawerSubtitle')}</SheetDescription>
@@ -1326,7 +1326,7 @@ function ProductAppearancesDrawer({ t, product, onOpenChange }: ProductAppearanc
return (
<Sheet open={isOpen} onOpenChange={onOpenChange}>
- <SheetContent className="w-full sm:max-w-xl flex flex-col gap-0 p-0 h-full">
+ <SheetContent className="data-[side=right]:w-full data-[side=right]:sm:max-w-xl flex flex-col gap-0 p-0 h-full">
<SheetHeader className="border-b px-5 py-4 shrink-0">
<SheetTitle className="text-base truncate" title={product?.product_title}>
{product?.product_title}