feat(client): unify section headers on /logs and group titles with their tables
- Apply the eyebrow variant to "Runtime stats" and "Memory & CPU" so /logs sections share the same uppercase header style as Job queue - Pair each section's heading + explainer with its table in a tighter sub-stack so the big gap only sits between sections, not under the explainer - Restore the missing useTheme() call inside TableFailedJobs and TableLogs so the monospace token resolves
This commit is contained in:
1 parent
bcab1a0a4d
commit
319f667028
4 files changed
+61
-55
No files matched your search
@@ -121,6 +121,7 @@ interface TableFailedJobsProps {
|
||||
}
|
||||
export const TableFailedJobs = ({ metrics }: TableFailedJobsProps) => {
|
||||
const { t } = useTranslation();
|
||||
const theme = useTheme();
|
||||
if (!metrics) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -45,6 +45,7 @@ const LevelBadge = ({ level }: { level: LogLevel }) => {
|
||||
|
||||
export const TableLogs = ({ logs, logCount, page, setPage }: TableLogsProps) => {
|
||||
const { t } = useTranslation();
|
||||
const theme = useTheme();
|
||||
const dispatch = useDispatch();
|
||||
const rowsPerPage = useSelector(
|
||||
(state: RootState) => state?.ui?.logs?.rowsPerPage ?? 15
|
||||
|
||||
Reference in new issue
Block a user