fix: add CSS classes to prevent URL and name overflow in monitors
This commit is contained in:
1 parent
6d236477ac
commit
1f6826e045
5 files changed
+34
-3
No files matched your search
@@ -203,6 +203,7 @@ const PageSpeedConfigure = () => {
|
||||
<Typography
|
||||
component="h1"
|
||||
variant="h1"
|
||||
className="monitor-name-text"
|
||||
>
|
||||
{monitor.name}
|
||||
</Typography>
|
||||
@@ -235,6 +236,7 @@ const PageSpeedConfigure = () => {
|
||||
<Typography
|
||||
component="h2"
|
||||
variant="h2"
|
||||
className="monitor-url-text"
|
||||
>
|
||||
{monitor.url?.replace(/^https?:\/\//, "") || "..."}
|
||||
</Typography>
|
||||
|
||||
@@ -249,6 +249,7 @@ const Configure = () => {
|
||||
<Typography
|
||||
component="h1"
|
||||
variant="h1"
|
||||
className="monitor-name-text"
|
||||
>
|
||||
{monitor.name}
|
||||
</Typography>
|
||||
@@ -281,6 +282,7 @@ const Configure = () => {
|
||||
<Typography
|
||||
component="h2"
|
||||
variant="h2"
|
||||
className="monitor-url-text"
|
||||
>
|
||||
{monitor.url?.replace(/^https?:\/\//, "") || "..."}
|
||||
</Typography>
|
||||
|
||||
Reference in new issue
Block a user