Merge pull request #1635 from YinDongFang/feature/style
Fix some UI style/Component bugs
This commit is contained in:
5 files changed
+23
-24
No files matched your search
@@ -234,7 +234,7 @@ const UptimeDataTable = ({
|
||||
backgroundColor={theme.palette.tertiary.main}
|
||||
sx={{
|
||||
padding: ".25em .75em",
|
||||
borderRadius: "50%",
|
||||
borderRadius: "10000px",
|
||||
fontSize: "12px",
|
||||
fontWeight: 500,
|
||||
}}
|
||||
|
||||
@@ -71,9 +71,7 @@ const UptimeMonitors = () => {
|
||||
? theme.palette.error.main
|
||||
: monitor.uptimePercentage < 0.5
|
||||
? theme.palette.warning.main
|
||||
: monitor.uptimePercentage < 0.75
|
||||
? theme.palette.success.main
|
||||
: theme.palette.success.main;
|
||||
: theme.palette.success.main;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user