Commit ca3a3ce
fix(adminapi): full-width layout + expandable recommendations explainer
- Remove body max-width: 1200px cap. The admin page is data-dense (14
columns of model metrics) and users with wide displays were stuck
scrolling a narrow column with huge dead space on both sides. Body
now uses the full viewport with 1.5rem/2rem padding.
- Replace the hover-only "How recommendations work" title tooltip with
a click-expandable <details> block. The tooltip approach was unreliable
across browsers for multi-line text and required hovering over a tiny
text target; <details> renders the full formula inline, with a
formatted block that wraps code samples and highlights the sections
(Pareto / knee point / effective price / quality axis per role).
- Add .table-wrap { overflow-x: auto } so the 14-column table scrolls
horizontally when the viewport is narrower than its natural width,
without clipping or breaking the page.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent dd88cb2 commit ca3a3ce
2 files changed
Lines changed: 27 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
23 | 30 | | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | 34 | | |
26 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 27 | | |
32 | 28 | | |
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
36 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
37 | 50 | | |
38 | 51 | | |
39 | 52 | | |
| |||
0 commit comments