Commit af86405
ui(mcp): stop Revoke button from stretching across the API Keys row
The base .btn { flex: 1 } class (intentional for hero CTA pairs and
similar even-split layouts) was bleeding into the API Keys list,
where the destructive Revoke button took up most of the row instead
of sitting compact next to the key name and metadata.
Scoped override (.mcp-key-item .btn { flex: 0 0 auto }) opts the
button out of the flex-fill behavior in this specific context only.
Other .btn placements that genuinely want even-split layout are
unaffected.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 92fda87 commit af86405
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3738 | 3738 | | |
3739 | 3739 | | |
3740 | 3740 | | |
| 3741 | + | |
| 3742 | + | |
| 3743 | + | |
| 3744 | + | |
| 3745 | + | |
| 3746 | + | |
| 3747 | + | |
| 3748 | + | |
| 3749 | + | |
| 3750 | + | |
3741 | 3751 | | |
3742 | 3752 | | |
3743 | 3753 | | |
| |||
0 commit comments