Skip to content

Commit 616d805

Browse files
authored
layout fix (#1408)
This PR fixes a layout bug <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Refactor** * Updated dashboard top-panel sizing to use viewport-aware height for a more consistent fit across screen sizes. * Improved dark-mode spacing to prevent clipping and ensure content remains fully visible without extra scrolling. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 7f35ae7 commit 616d805

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]

apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/dashboards/[dashboardId]/page-client.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ function DashboardDetailContent({
391391
<PageLayout fillWidth noPadding>
392392
{/* Both panels are always in the DOM so the iframe never unmounts/reloads.
393393
The chat panel animates its width; the dashboard panel adjusts via flex-1. */}
394-
<div data-full-bleed className="flex h-full">
394+
<div data-full-bleed className="flex h-[calc(100vh-4.5rem)] dark:h-[calc(100vh-5.75rem)]">
395395
{/* Dashboard iframe panel */}
396396
<div
397397
className={cn(

0 commit comments

Comments
 (0)