[desktop] Markdown tables ignore UI font size and remain at 14px
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using?
26.818.41509 (build 6962)
What platform is your computer?
macOS 15.6.1
What issue are you seeing?
Markdown tables in Codex Desktop do not follow the configured UI font size. With the UI font size set to 13 px, surrounding chat text renders at 13 px, but Markdown table text remains at 14 px and is visibly larger—especially with CJK content and narrow columns.
The current bundled stylesheet applies a hardcoded rule equivalent to:
.MarkdownRoot .Table {
font-size: 14px;
}
This means lowering the UI font size makes tables look disproportionately large.
What steps can reproduce the bug?
- Open Settings → Appearance.
- Set the UI font size to 13 px.
- Render an assistant response containing a Markdown table.
- Compare the table text with the paragraph immediately before or after it.
What is the expected behavior?
Markdown tables should inherit the configured UI/chat font size. Alternatively, Appearance settings could expose a separate Markdown table font-size control.
Additional information
sansFontSize = 13codeFontSize = 13- The behavior is independent of the selected monospace font.
- Table headers use a heavier weight and cells have generous vertical padding, which makes the mismatch more noticeable.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the bundled stylesheet rule equivalent to .MarkdownRoot .Table { font-size: 14px; } and trace how the desktop UI font size reaches surrounding chat text. Render a Markdown table with the UI font size set to 13 px, then verify that table text matches the surrounding text and remains correct for CJK content and narrow columns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, markdown
- Domain
- desktop, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100