Skip to content

Keep settings controls visible in a narrow window - #7269

Merged
ComputelessComputer merged 1 commit into
mainfrom
cursor/fix-settings-clipping-31c1
Sep 3, 2026
Merged

Keep settings controls visible in a narrow window#7269
ComputelessComputer merged 1 commit into
mainfrom
cursor/fix-settings-clipping-31c1

Conversation

@ComputelessComputer

Copy link
Copy Markdown
Collaborator

Summary

Problem: Settings toggles and dropdowns were clipped by the right window edge. Yesterday’s min(700px, 100%) cap still resolved to 700px on the content panel because 100% is the full sidebar+content group, so a typical ~900px window with a 200px sidebar overflowed by tens of pixels and overflow-hidden hid the controls.

Fix: Stop forcing a 700px min-width on the inner settings content panel (it already grows with flex-1). Keep the outer 900px preference, capped at the window. Let setting rows and the shared content wrapper shrink so right-aligned switches and selects stay on-screen.

Verification

  • pnpm exec dprint fmt and dprint check on the changed files
  • pnpm exec oxlint --quiet --format=github apps/desktop/src/
  • pnpm -F desktop typecheck
  • pnpm -F desktop test (3729 passed)
Open in Web Open in Cursor 

The 700px settings min-width was applied to the content panel beside
the sidebar. min(700px, 100%) still resolved to 700px because 100%
included the sidebar, so toggles and dropdowns were clipped on the
right. Let that panel shrink, and allow setting rows to fit the
remaining width.

Co-authored-by: John Jeong <ComputelessComputer@users.noreply.github.com>
@netlify

netlify Bot commented Sep 3, 2026

Copy link
Copy Markdown

Deploy Preview for anarlog canceled.

Name Link
🔨 Latest commit 8327f72
🔍 Latest deploy log https://app.netlify.com/projects/anarlog/deploys/6a98df32631866000889b4ab

@ComputelessComputer
ComputelessComputer marked this pull request as ready for review September 3, 2026 02:45
@cla-assistant

cla-assistant Bot commented Sep 3, 2026

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@ComputelessComputer
ComputelessComputer merged commit abaa0ad into main Sep 3, 2026
20 of 21 checks passed
@ComputelessComputer
ComputelessComputer deleted the cursor/fix-settings-clipping-31c1 branch September 3, 2026 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants