Updated monitor table link element and monitor details settings icon

This commit is contained in:
Daniel Cojocea committed 2024-08-06 19:13:11 -04:00
1 parent 5880ddbb14
commit 4733a9bf2b
4 files changed
+24 -10

No files matched your search

+16 -6
View File
@@ -41,16 +41,26 @@ import {
const Host = ({ params }) => {
return (
<Stack direction="row" alignItems="center" className="host">
<a
href={params.url}
target="_blank"
rel="noreferrer"
<IconButton
aria-label="monitor link"
onClick={(event) => {
event.stopPropagation();
window.open(params.url, "_blank", "noreferrer");
}}
sx={{
"&:focus": {
outline: "none",
},
mr: "3px",
}}
>
<OpenInNewPage />
</a>
<OpenInNewPage
style={{
marginTop: "-1px",
marginRight: "-1px",
}}
/>
</IconButton>
<Box>
{params.title}
<Typography component="span" sx={{ color: params.percentageColor }}>