From bdc5abc7df4bdb440f5318f632fbc997d7d75b69 Mon Sep 17 00:00:00 2001 From: fusawayugo Date: Fri, 13 Dec 2024 17:30:03 +0900 Subject: [PATCH 1/2] fix timeline width --- tslib/react/src/components/PlotTimeline.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tslib/react/src/components/PlotTimeline.tsx b/tslib/react/src/components/PlotTimeline.tsx index 0d427265..c4960a61 100644 --- a/tslib/react/src/components/PlotTimeline.tsx +++ b/tslib/react/src/components/PlotTimeline.tsx @@ -32,7 +32,7 @@ export const PlotTimeline: FC<{ > Timeline - +
From c805ede0babb79c2b747dc73155ab8acc78cfe2e Mon Sep 17 00:00:00 2001 From: fusawayugo Date: Wed, 18 Dec 2024 13:54:11 +0900 Subject: [PATCH 2/2] deleted Grid instead of extending the width of Grid --- tslib/react/src/components/PlotTimeline.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tslib/react/src/components/PlotTimeline.tsx b/tslib/react/src/components/PlotTimeline.tsx index c4960a61..1aebf407 100644 --- a/tslib/react/src/components/PlotTimeline.tsx +++ b/tslib/react/src/components/PlotTimeline.tsx @@ -1,4 +1,4 @@ -import { Card, CardContent, Grid, Typography, useTheme } from "@mui/material" +import { Card, CardContent, Typography, useTheme } from "@mui/material" import * as Optuna from "@optuna/types" import * as plotly from "plotly.js-dist-min" import { FC, useEffect } from "react" @@ -32,9 +32,7 @@ export const PlotTimeline: FC<{ > Timeline - -
- +
)