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
@@ -27,7 +27,12 @@ const Status = ({ monitor }) => {
|
||||
|
||||
return (
|
||||
<Stack>
|
||||
<Typography variant="h1">{monitor?.name}</Typography>
|
||||
<Typography
|
||||
variant="h1"
|
||||
className="monitor-name-text"
|
||||
>
|
||||
{monitor?.name}
|
||||
</Typography>
|
||||
<Stack
|
||||
direction="row"
|
||||
alignItems={"center"}
|
||||
@@ -37,6 +42,7 @@ const Status = ({ monitor }) => {
|
||||
<Typography
|
||||
variant="h2"
|
||||
style={{ fontFamily: "monospace", fontWeight: "bolder" }}
|
||||
className="monitor-url-text"
|
||||
>
|
||||
{monitor?.url?.replace(/^https?:\/\//, "") || "..."}
|
||||
</Typography>
|
||||
|
||||
Reference in new issue
Block a user