Skip to content

Commit 16ed3e1

Browse files
authored
Merge pull request #855 from porink0424/fix/improve-design-in-analytics-page
Improve design of titles in the analytics page
2 parents a65a5e5 + 05f5456 commit 16ed3e1

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

optuna_dashboard/ts/components/StudyDetail.tsx

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,14 @@ export const StudyDetail: FC<{
103103
<PreferentialAnalytics studyId={studyId} />
104104
) : (
105105
<Box sx={{ display: "flex", width: "100%", flexDirection: "column" }}>
106-
<Typography variant="h5" sx={{ margin: theme.spacing(2) }}>
106+
<Typography
107+
variant="h5"
108+
sx={{
109+
margin: theme.spacing(2),
110+
marginTop: theme.spacing(4),
111+
fontWeight: theme.typography.fontWeightBold,
112+
}}
113+
>
107114
Hyperparameter Relationships
108115
</Typography>
109116
<Card sx={{ margin: theme.spacing(2) }}>
@@ -126,10 +133,17 @@ export const StudyDetail: FC<{
126133
<GraphRank study={studyDetail} />
127134
</CardContent>
128135
</Card>
129-
<Typography variant="h5" sx={{ margin: theme.spacing(2) }}>
136+
<Typography
137+
variant="h5"
138+
sx={{
139+
margin: theme.spacing(2),
140+
marginTop: theme.spacing(4),
141+
fontWeight: theme.typography.fontWeightBold,
142+
}}
143+
>
130144
Empirical Distribution of the Objective Value
131145
</Typography>
132-
<Grid2 container spacing={2} sx={{ padding: theme.spacing(0, 2) }}>
146+
<Grid2 container spacing={2} sx={{ padding: theme.spacing(2) }}>
133147
{studyDetail !== null
134148
? studyDetail.directions.map((d, i) => (
135149
<Grid2 xs={6} key={i}>

0 commit comments

Comments
 (0)