fix(www): update height of chart in preview (#4244)

Co-authored-by: shadcn <m@shadcn.com>
This commit is contained in:
xSenny
2024-07-16 13:53:32 +03:00
committed by GitHub
parent 93808ab561
commit 5b856127ee

View File

@@ -59,7 +59,7 @@ ${Object.entries(chartConfig.theme.cssVars.dark)
const content = (
<>
<div className="chart-wrapper hidden sm:block [&>div]:rounded-none [&>div]:border-0 [&>div]:border-b [&>div]:shadow-none">
<div className="chart-wrapper hidden sm:block [&>div]:rounded-none [&>div]:border-0 [&>div]:border-b [&>div]:shadow-none [&_[data-chart]]:mx-auto [&_[data-chart]]:max-h-[35vh]">
{children}
</div>
<Tabs