openai / openai/codex

[desktop] Markdown tables ignore UI font size and remain at 14px

Open
#40,818 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

app bug
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?
  1. Open Settings → Appearance.
  2. Set the UI font size to 13 px.
  3. Render an assistant response containing a Markdown table.
  4. 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 = 13
  • codeFontSize = 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.