Fixed area chart tooltip

This commit is contained in:
Daniel Cojocea committed 2024-09-04 21:41:16 -04:00
1 parent 7e01006cef
commit f689b304c8
3 files changed
+53 -20

No files matched your search

+7 -1
View File
@@ -474,7 +474,13 @@ const DetailsPage = ({ isAdmin }) => {
data={[{ response: monitor?.periodAvgResponseTime }]}
/>
</ChartBox>
<ChartBox>
<ChartBox
sx={{
"& tspan": {
fontSize: 11,
},
}}
>
<Stack>
<IconBox>
<ResponseTimeIcon />
+2 -2
View File
@@ -16,11 +16,11 @@ export const ChartBox = styled(Stack)(({ theme }) => ({
fontSize: 15,
fontWeight: 500,
},
"& p": {
"& .MuiBox-root:not(.area-tooltip) p": {
color: theme.palette.text.tertiary,
fontSize: 13,
},
"& span": {
"& .MuiBox-root > span": {
color: theme.palette.text.primary,
fontSize: 20,
"& span": {