fix: padding fix for stats text
This commit is contained in:
1 parent
974d33b3de
commit
39a449e594
1 file changed
+4
-4
@@ -78,8 +78,8 @@ export const HistogramResponseTime = ({
|
|||||||
alignItems={statsPosition === "left" ? "flex-end" : "flex-start"}
|
alignItems={statsPosition === "left" ? "flex-end" : "flex-start"}
|
||||||
sx={{
|
sx={{
|
||||||
minWidth: 70,
|
minWidth: 70,
|
||||||
pr: statsPosition === "left" ? theme.spacing(2) : 0,
|
pr: statsPosition === "left" ? theme.spacing(8) : 0,
|
||||||
pl: statsPosition === "right" ? theme.spacing(2) : 0,
|
pl: statsPosition === "right" ? theme.spacing(8) : 0,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Typography
|
<Typography
|
||||||
@@ -88,7 +88,7 @@ export const HistogramResponseTime = ({
|
|||||||
color: theme.palette.text.secondary,
|
color: theme.palette.text.secondary,
|
||||||
fontSize: "0.65rem",
|
fontSize: "0.65rem",
|
||||||
fontWeight: 500,
|
fontWeight: 500,
|
||||||
lineHeight: 1.4,
|
pt: theme.spacing(2),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{t("common.charts.histogram.avg", { value: stats.avg })}
|
{t("common.charts.histogram.avg", { value: stats.avg })}
|
||||||
@@ -99,7 +99,7 @@ export const HistogramResponseTime = ({
|
|||||||
color: theme.palette.text.secondary,
|
color: theme.palette.text.secondary,
|
||||||
fontSize: "0.65rem",
|
fontSize: "0.65rem",
|
||||||
fontWeight: 500,
|
fontWeight: 500,
|
||||||
lineHeight: 1.4,
|
pt: theme.spacing(2),
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{t("common.charts.histogram.max", { value: stats.max })}
|
{t("common.charts.histogram.max", { value: stats.max })}
|
||||||
|
|||||||
Reference in new issue
Block a user