Skip to content

fix(web): scale Files tree with interface font size - #8011

Open
Umais-Adeed wants to merge 1 commit into
pingdotgg:mainfrom
Umais-Adeed:fix/web-files-tree-font-size
Open

fix(web): scale Files tree with interface font size#8011
Umais-Adeed wants to merge 1 commit into
pingdotgg:mainfrom
Umais-Adeed:fix/web-files-tree-font-size

Conversation

@Umais-Adeed

@Umais-Adeed Umais-Adeed commented Aug 23, 2026

Copy link
Copy Markdown

What changed

The Files tree was overriding its font size with a fixed 12px, so it ignored Settings → Appearance → Interface font size. This changes the override to 0.75rem, preserving the existing 12px default at the 16px interface setting while allowing the tree to scale with the interface.

Why

Fixes the Files-tree typography bug reported in #7957 without adding another setting or changing the compact default.

Verification

  • vp fmt --check apps/web/src/components/files/FileBrowserPanel.tsx
  • vp lint --report-unused-disable-directives apps/web/src/components/files/FileBrowserPanel.tsx
  • vp run --filter @t3tools/web typecheck
  • Manual local web verification with a disposable T3 home: the tree measured 12px at Interface 16px and 15px at Interface 20px.
  • The change is limited to one CSS custom-property value in FileBrowserPanel.tsx.

UI evidence

Before/after screenshots were captured at the same 20px interface setting: the old tree remains 12px, while the patched tree scales to 15px.

Before

Before: Files tree remains at 12px

After

After: Files tree scales to 15px

Fixes #7957

Generated with GPT-5.6-Luna in T3 Code using the Codex harness.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Aug 23, 2026
@macroscopeapp

macroscopeapp Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Skipped

Macroscope did not run approvability analysis for this PR. Macroscope could not determine whether this PR modifies its approvability configuration, so the PR was not approved automatically. A PR that may change the rules that govern approval is never approved automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Files tree ignores Interface font size and remains fixed at 12px

1 participant