16672: Adds renderer for UUID & PDH links on the log viewer.
[arvados-workbench2.git] / src / components / multi-panel-view / multi-panel-view.tsx
index 48241c0b61e03063af90f92b23e0e699707cc43c..de8249909d3af4ba16c53b49490ec0144bc6b4d0 100644 (file)
@@ -88,12 +88,9 @@ export const MPVPanelContent = ({doHidePanel, doMaximizePanel, panelName,
         }
     }, [panelRef]);
 
-    // If maxHeight is set, only apply it when not maximized
-    const mh = maxHeight
-        ? panelMaximized
-            ? '100%'
-            : maxHeight
-        : undefined;
+    const mh = panelMaximized
+        ? '100%'
+        : maxHeight;
 
     return <Grid item style={{maxHeight: mh}} {...props}>
         <span ref={panelRef} /> {/* Element to scroll to when the panel is selected */}