Commit 7826a99
fix: constrain chat assistant to 384px on desktop and remove dark background (#224)
## Summary
- Constrains the chat assistant floating input to `max-width: 384px` and
centers it on desktop (`>=640px`), overriding Mintlify's new full-width
default
- Removes the dark background behind the chat area by making the sticky
container and its `::before` pseudo-elements transparent
- Mobile behavior (8px edge-to-edge overflow) is unchanged
## Context
Mintlify pushed a platform update that made the chat assistant `w-full`
(confirmed on their Palm theme starter). This is not caused by our CSS —
we need to override their new default.
## Test plan
- [x] Desktop: chat bar is ~384px wide, centered, no dark background
behind it
- [x] Mobile: chat bar extends 8px past content edges as before
- [x] Light and dark mode both look correct
Made with [Cursor](https://cursor.com)
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent 3bbc31b commit 7826a99
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
590 | 600 | | |
591 | 601 | | |
592 | 602 | | |
| |||
605 | 615 | | |
606 | 616 | | |
607 | 617 | | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
608 | 626 | | |
609 | 627 | | |
610 | 628 | | |
| |||
0 commit comments