Commit 1ee3908
frontend: fix markdown editor overflowing its container (#2219)
Long text in the Milkdown editor would overflow the card boundary and
break the page layout on both agent create and edit pages.
Three CSS properties fix this:
- min-width: 0 on the wrapper lets it shrink in flex/grid contexts
- overflow-wrap: break-word breaks long words at the container edge
- overflow: hidden as a hard containment boundary
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e51a760 commit 1ee3908
1 file changed
Lines changed: 7 additions & 0 deletions
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
6 | 13 | | |
7 | 14 | | |
8 | 15 | | |
| |||
0 commit comments