diff --git a/apps/design-system/registry/default/example/logs-bar-chart.tsx b/apps/design-system/registry/default/example/logs-bar-chart.tsx index e639f355f1a..2c348594f15 100644 --- a/apps/design-system/registry/default/example/logs-bar-chart.tsx +++ b/apps/design-system/registry/default/example/logs-bar-chart.tsx @@ -14,7 +14,7 @@ export default function LogsBarChartDemo() { }).reverse() return ( -
+
) diff --git a/apps/studio/components/interfaces/HomeNew/AdvisorSection.tsx b/apps/studio/components/interfaces/HomeNew/AdvisorSection.tsx index 710b4c1f0ec..e3a5b9d3cf7 100644 --- a/apps/studio/components/interfaces/HomeNew/AdvisorSection.tsx +++ b/apps/studio/components/interfaces/HomeNew/AdvisorSection.tsx @@ -85,7 +85,7 @@ export const AdvisorSection = () => { return ( { handleCardClick(lint) }} diff --git a/apps/studio/components/interfaces/HomeNew/GettingStarted/GettingStarted.tsx b/apps/studio/components/interfaces/HomeNew/GettingStarted/GettingStarted.tsx index e555e13aa49..e5fa1e266c1 100644 --- a/apps/studio/components/interfaces/HomeNew/GettingStarted/GettingStarted.tsx +++ b/apps/studio/components/interfaces/HomeNew/GettingStarted/GettingStarted.tsx @@ -132,7 +132,7 @@ export function GettingStarted({ steps }: GettingStartedProps) {
{activeStep.image ? ( {
{enabledServices.map((s) => ( - +
@@ -373,15 +373,19 @@ export const ProjectUsageSection = () => {
- - + + + } /> diff --git a/apps/studio/components/ui/Charts/NoDataPlaceholder.tsx b/apps/studio/components/ui/Charts/NoDataPlaceholder.tsx index 31ff9b9f669..93bb8102bb9 100644 --- a/apps/studio/components/ui/Charts/NoDataPlaceholder.tsx +++ b/apps/studio/components/ui/Charts/NoDataPlaceholder.tsx @@ -12,6 +12,7 @@ interface NoDataPlaceholderProps { description?: string className?: string size: Parameters[0] + isFullHeight?: boolean } const NoDataPlaceholder = ({ attribute, @@ -20,17 +21,19 @@ const NoDataPlaceholder = ({ format, className = '', size, + isFullHeight = false, }: NoDataPlaceholderProps) => { const { minHeight } = useChartSize(size) return ( -
+
{attribute !== undefined && ( )}
void EmptyState?: ReactNode DateTimeFormat?: string - height?: string + isFullHeight?: boolean }) => { const [focusDataIndex, setFocusDataIndex] = useState(null) @@ -45,8 +45,12 @@ export const LogsBarChart = ({ const endDate = dayjs(data[data?.length - 1]?.['timestamp']).format(DateTimeFormat) return ( -
+
-
{children}
+
+
{children}
{active && }
)