From 885da8fcacedf09ecd4477bbeb1451c183591277 Mon Sep 17 00:00:00 2001 From: Naoto Mizuno Date: Thu, 7 Dec 2023 13:27:38 +0900 Subject: [PATCH] Prevent layout shift with intermediate values plot by rearranging the order of graphs --- .../ts/components/StudyHistory.tsx | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/optuna_dashboard/ts/components/StudyHistory.tsx b/optuna_dashboard/ts/components/StudyHistory.tsx index 4bcbbc0a..8fab513a 100644 --- a/optuna_dashboard/ts/components/StudyHistory.tsx +++ b/optuna_dashboard/ts/components/StudyHistory.tsx @@ -108,17 +108,6 @@ export const StudyHistory: FC<{ studyId: number }> = ({ studyId }) => { - {studyDetail !== null && - studyDetail.directions.length === 1 && - studyDetail.has_intermediate_values ? ( - - - - ) : null} = ({ studyId }) => { + {studyDetail !== null && + studyDetail.directions.length === 1 && + studyDetail.has_intermediate_values ? ( + + + + ) : null} {artifactEnabled && studyDetail !== null && (