diff --git a/ui-common/src/hooks/WindowDimensionsHook.tsx b/ui-common/src/hooks/WindowDimensionsHook.tsx index 0f9fa8315..27c774303 100644 --- a/ui-common/src/hooks/WindowDimensionsHook.tsx +++ b/ui-common/src/hooks/WindowDimensionsHook.tsx @@ -14,11 +14,11 @@ export function useRequestTextByWidth(windowWidth){ let responseText = "Response: " let elapsedTimeText = "Elapsed Time: " - if (windowWidth < 1078) { + if (windowWidth < 1436) { requestText = "" responseText = "" elapsedTimeText = "" - } else if (windowWidth < 1356) { + } else if (windowWidth < 1700) { requestText = "Req: " responseText = "Res: " elapsedTimeText = "ET: " @@ -38,6 +38,6 @@ export default function useWindowDimensions() { window.addEventListener('resize', handleResize); return () => window.removeEventListener('resize', handleResize); }, []); - + return windowDimensions; }