diff --git a/ui/src/pages/AppsTab/AppsTab.module.css b/ui/src/pages/AppsTab/AppsTab.module.css index 3ecf5b8f..8e9aa076 100644 --- a/ui/src/pages/AppsTab/AppsTab.module.css +++ b/ui/src/pages/AppsTab/AppsTab.module.css @@ -1,5 +1,5 @@ .container { - padding: 16px; + padding: 20px 24px 40px; overflow-y: auto; flex: 1; } diff --git a/ui/src/pages/Dashboard/Dashboard.module.css b/ui/src/pages/Dashboard/Dashboard.module.css index dbfa5f54..a0e88bc4 100644 --- a/ui/src/pages/Dashboard/Dashboard.module.css +++ b/ui/src/pages/Dashboard/Dashboard.module.css @@ -9,23 +9,6 @@ background: var(--bg-body); } -.tableHeader { - display: flex; - align-items: center; - justify-content: space-between; - padding: 8px 12px; - border-bottom: 1px solid var(--border-subtle); -} - -.tableTitle { - display: flex; - align-items: center; - gap: 4px; - font-size: 13px; - font-weight: 600; - color: var(--text-primary); -} - .clearSearch { display: inline-flex; align-items: center; @@ -46,18 +29,6 @@ color: var(--text-primary); } -.tableRight { - display: flex; - align-items: center; - gap: 10px; -} - -.tableMeta { - font-size: 12px; - color: var(--text-muted); - font-family: var(--font-mono); -} - /* Status cell */ .statusCell { display: flex; diff --git a/ui/src/pages/Dashboard/Dashboard.tsx b/ui/src/pages/Dashboard/Dashboard.tsx index b1b1cf57..112cae58 100644 --- a/ui/src/pages/Dashboard/Dashboard.tsx +++ b/ui/src/pages/Dashboard/Dashboard.tsx @@ -17,6 +17,7 @@ import type { ExecutionSummary } from '../../api/types' import { attributeBadgeColor } from '../../utils/attribute-color' import { formatDuration, statusLabel } from '../../utils/format-utils' import styles from './Dashboard.module.css' +import tableStyles from '../../styles/table-section.module.css' // Row type extends ExecutionSummary with an `id` field for DataTable interface Row extends ExecutionSummary { @@ -234,52 +235,54 @@ export default function Dashboard({ onExchangeSelect, activeExchangeId }: Dashbo return (
-
- - {textFilter ? ( - <> - - Search: “{textFilter}” - - - ) : 'Recent Exchanges'} - -
- - {rows.length.toLocaleString()} of {(searchResult?.total ?? 0).toLocaleString()} exchanges +
+
+ + {textFilter ? ( + <> + + Search: “{textFilter}” + + + ) : 'Recent Exchanges'} - {!textFilter && } +
+ + {rows.length.toLocaleString()} of {(searchResult?.total ?? 0).toLocaleString()} exchanges + + {!textFilter && } +
-
- - row.errorMessage ? ( -
- -
-
{row.errorMessage}
-
Click to view full stack trace
+ + row.errorMessage ? ( +
+ +
+
{row.errorMessage}
+
Click to view full stack trace
+
-
- ) : null - } - /> + ) : null + } + /> +
) } diff --git a/ui/src/pages/DashboardTab/DashboardTab.module.css b/ui/src/pages/DashboardTab/DashboardTab.module.css index c6304a61..f31f282d 100644 --- a/ui/src/pages/DashboardTab/DashboardTab.module.css +++ b/ui/src/pages/DashboardTab/DashboardTab.module.css @@ -5,7 +5,7 @@ flex: 1; min-height: 0; overflow-y: auto; - padding-bottom: 20px; + padding: 0 24px 20px; }