()
| 16 | * Falls back to a reasonable default for SSR. |
| 17 | */ |
| 18 | export const getMaxLogDetailsWidth = () => |
| 19 | typeof window !== 'undefined' ? window.innerWidth * MAX_LOG_DETAILS_WIDTH_RATIO : 1040 |
| 20 | |
| 21 | /** |
| 22 | * Clamps a width value to the valid panel range for the current viewport. |