From 14bb07b728da7212dc5ece6555869d4d0a57a1ac Mon Sep 17 00:00:00 2001 From: Vincent T Date: Wed, 11 Dec 2024 12:11:23 -0500 Subject: [PATCH] frontend: LogViwer: Fix log not expanding on full screen Signed-off-by: Vincent T --- frontend/src/components/common/LogViewer.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/common/LogViewer.tsx b/frontend/src/components/common/LogViewer.tsx index 6d623529f9..c7ccb97a2f 100644 --- a/frontend/src/components/common/LogViewer.tsx +++ b/frontend/src/components/common/LogViewer.tsx @@ -129,7 +129,17 @@ export function LogViewer(props: LogViewerProps) { } return ( - + { + setTimeout(() => { + fitAddonRef.current!.fit(); + }, 1); + }} + withFullScreen + onClose={onClose} + {...other} + > ({ height: '80%',