Skip to content

Commit 8349bf9

Browse files
committed
Fixed eval panel hidden and small size issues
1 parent de28efc commit 8349bf9

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎renderer/components/evaluation/dashboard.jsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ const Dashboard = ({ isUpdating, setIsUpdating, errorPrediction=null, error=null
7171
) : (
7272
<>
7373
{url && !isUpdating ? (
74-
<Iframe url={url} width="100%" height="100%" frameBorder="0" />
74+
<div style={{ overflow: "auto", height: "700px" }}>
75+
<Iframe url={url} width="100%" height="100%" frameBorder="0" />
76+
</div>
7577
) : (
7678
<ProgressBarRequests
7779
delayMS={1000}

‎renderer/components/evaluation/pageEval.jsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ const PageEval = ({ run, pageId, config, updateWarnings, setChosenModel, updateC
302302
<PanelResizeHandle />
303303
</>
304304
{/* Panel is used to create the results pane, used to be able to resize it on drag */}
305-
<Panel id={`eval-body-${pageId}`} minSize={30} order={2} collapsible={true} collapsibleSize={10} className="eval-body">
305+
<div className="eval-body">
306306
<Button className={`btn-show-header ${showHeader ? "opened" : "closed"}`} onClick={() => setShowHeader(!showHeader)}>
307307
<hr />
308308
<i className="pi pi-chevron-down"></i>
@@ -319,7 +319,7 @@ const PageEval = ({ run, pageId, config, updateWarnings, setChosenModel, updateC
319319
</TabPanel>
320320
</TabView>
321321
</div>
322-
</Panel>
322+
</div>
323323
</PanelGroup>
324324
</div>
325325
)

‎renderer/components/evaluation/predictPanel.jsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const PredictPanel = ({ isUpdating, setIsUpdating, data, error=null }) => {
6868
<h1>Predictions: </h1>
6969
{!isUpdating && data ? (
7070
<>
71-
<div style={{ overflow: "auto", height: "500px" }}>
71+
<div style={{ overflow: "auto", height: "700px" }}>
7272
<DataTableFromDB data={{ id: data.collection_id }} isReadOnly={true} />
7373
</div>
7474
</>

0 commit comments

Comments
 (0)