Merge pull request #2408 from varunrmantri23/develop

fix: prevent monitor URL and name overflow with sx Prop
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-06-09 09:53:06 +08:00
commit 5690d91d59
6 files changed
+39 -13

No files matched your search

@@ -202,7 +202,7 @@ const PageSpeedConfigure = () => {
<Box>
<Typography
component="h1"
variant="h1"
variant="monitorName"
>
{monitor.name}
</Typography>
@@ -234,7 +234,7 @@ const PageSpeedConfigure = () => {
</Tooltip>
<Typography
component="h2"
variant="h2"
variant="monitorUrl"
>
{monitor.url?.replace(/^https?:\/\//, "") || "..."}
</Typography>
@@ -245,7 +245,7 @@ const Card = ({ monitor }) => {
</IconBox>
<Typography
component="h2"
variant="h2"
variant="monitorUrl"
fontWeight={500}
alignSelf="center"
>
+2 -2
View File
@@ -248,7 +248,7 @@ const Configure = () => {
<Box>
<Typography
component="h1"
variant="h1"
variant="monitorName"
>
{monitor.name}
</Typography>
@@ -280,7 +280,7 @@ const Configure = () => {
</Tooltip>
<Typography
component="h2"
variant="h2"
variant="monitorUrl"
>
{monitor.url?.replace(/^https?:\/\//, "") || "..."}
</Typography>