From ce7c16d14f282a7daa6c36020f6129516c773786 Mon Sep 17 00:00:00 2001 From: waleed Date: Tue, 5 May 2026 11:10:13 -0700 Subject: [PATCH 1/2] improvement(logs): increase log details panel max width from 40vw to 60vw --- apps/sim/stores/logs/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sim/stores/logs/utils.ts b/apps/sim/stores/logs/utils.ts index e18c3ad65e0..0e2e1db213e 100644 --- a/apps/sim/stores/logs/utils.ts +++ b/apps/sim/stores/logs/utils.ts @@ -9,10 +9,10 @@ */ export const MIN_LOG_DETAILS_WIDTH = 320 export const DEFAULT_LOG_DETAILS_WIDTH = 520 -export const MAX_LOG_DETAILS_WIDTH_RATIO = 0.4 +export const MAX_LOG_DETAILS_WIDTH_RATIO = 0.6 /** - * Returns the maximum log details panel width (65vw). + * Returns the maximum log details panel width (65% of viewport width). * Falls back to a reasonable default for SSR. */ export const getMaxLogDetailsWidth = () => From 79facfcb0383a74d576d647213120df0ef0ade95 Mon Sep 17 00:00:00 2001 From: waleed Date: Tue, 5 May 2026 11:12:43 -0700 Subject: [PATCH 2/2] chore(logs): fix stale 65vw references in JSDoc comments --- apps/sim/stores/logs/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/sim/stores/logs/utils.ts b/apps/sim/stores/logs/utils.ts index 0e2e1db213e..99a3b615392 100644 --- a/apps/sim/stores/logs/utils.ts +++ b/apps/sim/stores/logs/utils.ts @@ -12,7 +12,7 @@ export const DEFAULT_LOG_DETAILS_WIDTH = 520 export const MAX_LOG_DETAILS_WIDTH_RATIO = 0.6 /** - * Returns the maximum log details panel width (65% of viewport width). + * Returns the maximum log details panel width (60% of viewport width). * Falls back to a reasonable default for SSR. */ export const getMaxLogDetailsWidth = () => @@ -21,7 +21,7 @@ export const getMaxLogDetailsWidth = () => /** * Clamps a width value to the valid panel range for the current viewport. * The floor (`MIN_LOG_DETAILS_WIDTH`) is itself capped by the viewport ratio - * so a small viewport never produces a panel that covers more than 65vw. + * so a small viewport never produces a panel that covers more than 60vw. */ export const clampPanelWidth = (width: number) => { const max = getMaxLogDetailsWidth()