File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 */
1010export const MIN_LOG_DETAILS_WIDTH = 320
1111export const DEFAULT_LOG_DETAILS_WIDTH = 520
12- export const MAX_LOG_DETAILS_WIDTH_RATIO = 0.4
12+ export const MAX_LOG_DETAILS_WIDTH_RATIO = 0.6
1313
1414/**
15- * Returns the maximum log details panel width (65vw ).
15+ * Returns the maximum log details panel width (60% of viewport width ).
1616 * Falls back to a reasonable default for SSR.
1717 */
1818export const getMaxLogDetailsWidth = ( ) =>
@@ -21,7 +21,7 @@ export const getMaxLogDetailsWidth = () =>
2121/**
2222 * Clamps a width value to the valid panel range for the current viewport.
2323 * The floor (`MIN_LOG_DETAILS_WIDTH`) is itself capped by the viewport ratio
24- * so a small viewport never produces a panel that covers more than 65vw .
24+ * so a small viewport never produces a panel that covers more than 60vw .
2525 */
2626export const clampPanelWidth = ( width : number ) => {
2727 const max = getMaxLogDetailsWidth ( )
You can’t perform that action at this time.
0 commit comments