Remove text-align center from cards in history tab

This commit is contained in:
c-bata
2023-01-04 10:57:37 +09:00
parent eefb78f96c
commit df67ed13bf
3 changed files with 5 additions and 7 deletions
@@ -90,16 +90,16 @@ export const BestTrialsCard: FC<{
>
<ListItemText
primary={
<Typography variant="h5" sx={{ textAlign: "center" }}>
<Typography variant="h5">
Trial {trial.number}
</Typography>
}
secondary={
<>
<Typography sx={{ textAlign: "center" }}>
<Typography>
Objective Values = [{trial.values?.join(", ")}]
</Typography>
<Typography sx={{ textAlign: "center" }}>
<Typography>
Params = [
{trial.params
.map((p) => `${p.name}: ${p.value}`)
@@ -121,8 +121,7 @@ export const BestTrialsCard: FC<{
<Card>
<CardContent
sx={{
alignItems: "center",
display: "flex",
display: "inline-content",
flexDirection: "column",
}}
>
@@ -56,7 +56,7 @@ export const GraphHyperparameterImportanceBeta: FC<{
<CardContent>
<Typography
variant="h6"
sx={{ margin: "1em 0", fontWeight: 600, textAlign: "center" }}
sx={{ margin: "1em 0", fontWeight: 600 }}
>
{title}
</Typography>
@@ -130,7 +130,6 @@ export const StudyDetailBeta: FC<{
<Card>
<CardContent
sx={{
alignItems: "center",
display: "flex",
flexDirection: "column",
}}