Merge pull request #2408 from varunrmantri23/develop
fix: prevent monitor URL and name overflow with sx Prop
This commit is contained in:
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"
|
||||
>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user