fix(client): refine table header divider and typography
- replace heavier per-cell header borders with one lighter row divider - shrink header text to 11px with looser tracking for a more refined feel - tighten failed-jobs labels: "Fail count" -> "Count", "Last failed at" -> "Last failed"
This commit is contained in:
1 parent
995fc59299
commit
210e03cea0
2 files changed
+8
-3
No files matched your search
@@ -162,14 +162,19 @@ export function DataTable<
|
|||||||
},
|
},
|
||||||
"& .MuiTableHead-root .MuiTableRow-root": {
|
"& .MuiTableHead-root .MuiTableRow-root": {
|
||||||
height: "28px",
|
height: "28px",
|
||||||
|
borderBottom: "1px solid rgba(0, 0, 0, 0.06)",
|
||||||
|
},
|
||||||
|
"& .MuiTableHead-root .MuiTableCell-root": {
|
||||||
|
borderBottom: "none",
|
||||||
},
|
},
|
||||||
"& :is(th)": {
|
"& :is(th)": {
|
||||||
backgroundColor: theme.palette.background.paper,
|
backgroundColor: theme.palette.background.paper,
|
||||||
color: theme.palette.text.secondary,
|
color: theme.palette.text.secondary,
|
||||||
fontWeight: 500,
|
fontWeight: 500,
|
||||||
textTransform: "uppercase",
|
textTransform: "uppercase",
|
||||||
|
letterSpacing: "0.08em",
|
||||||
padding: `${theme.spacing(SPACING.LG)} ${theme.spacing(LAYOUT.MD)}`,
|
padding: `${theme.spacing(SPACING.LG)} ${theme.spacing(LAYOUT.MD)}`,
|
||||||
fontSize: theme.typography.fontSize,
|
fontSize: 11,
|
||||||
},
|
},
|
||||||
"& :is(td)": {
|
"& :is(td)": {
|
||||||
backgroundColor: theme.palette.background.paper,
|
backgroundColor: theme.palette.background.paper,
|
||||||
|
|||||||
@@ -883,12 +883,12 @@
|
|||||||
"method": "Method",
|
"method": "Method",
|
||||||
"monitorId": "Monitor ID",
|
"monitorId": "Monitor ID",
|
||||||
"runCount": "Run count",
|
"runCount": "Run count",
|
||||||
"failCount": "Fail count",
|
"failCount": "Count",
|
||||||
"lastRunAt": "Last run at",
|
"lastRunAt": "Last run at",
|
||||||
"lockedAt": "Locked at",
|
"lockedAt": "Locked at",
|
||||||
"lastFinishedAt": "Last finished at",
|
"lastFinishedAt": "Last finished at",
|
||||||
"lastRunTook": "Last run took",
|
"lastRunTook": "Last run took",
|
||||||
"lastFailedAt": "Last failed at",
|
"lastFailedAt": "Last failed",
|
||||||
"failReason": "Fail reason"
|
"failReason": "Fail reason"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user