MoonshotAI / MoonshotAI/kimi-code

[UI Bug] Markdown table stretches page horizontally with long text in Web UI

Open
#2,560 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
7.5k
Forks
1.2k
Avg merge
11h 53m
Merged PRs (30d)
350

Description

What version of Kimi Code is running?

0.31.1

Which open platform/subscription were you using?

subscription

Which model were you using?

k3-256k

What platform is your computer?

Darwin 25.5.0 arm64 arm

What issue are you seeing?

Markdown tables rendered in Web UI lack width constraints. Long unbroken text inside cells will infinitely stretch the table, creating a global horizontal scrollbar and breaking the chat layout.

What steps can reproduce the bug?
  1. Open kimi-code Web UI
  2. Let model return markdown table with long continuous text
  3. Observe page layout
What is the expected behavior?

Table bounded by chat container width, long text wraps inside cells, or cell-local horizontal scroll.

Additional information
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Web UI's Markdown table rendering path and reproduce the issue with a table containing long unbroken text. The work is done when the table stays within the chat container, long cell content wraps or scrolls locally, and the page no longer gains a global horizontal scrollbar.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.