Skip to content

fix(code): reduce window minWidth from 1200 to 800#2261

Merged
charlesvien merged 1 commit into
mainfrom
posthog-code/reduce-window-min-width
May 20, 2026
Merged

fix(code): reduce window minWidth from 1200 to 800#2261
charlesvien merged 1 commit into
mainfrom
posthog-code/reduce-window-min-width

Conversation

@thmsobrmlr
Copy link
Copy Markdown
Contributor

Summary

  • The main BrowserWindow enforced a minWidth: 1200, preventing users on common laptop displays (e.g. 1440–1600px wide) from tiling the app to half a screen.
  • Drop the floor to 800px. minHeight: 600 is unchanged — already low enough.
  • No other constraints fight this: no root-level CSS min-width, and internal min-w-* usages are scoped to components that already handle narrower widths.

Test plan

  • pnpm dev:code and drag the window inward; confirm it now resizes down to ~800px wide
  • Tile the window to half a 1600px display; confirm tiling succeeds
  • Sanity-check the header, sidebar, and task detail panels at ~800px for clipping

The 1200px floor blocked users on smaller laptops from pinning the
window to half a screen. Drop it to 800px.

Generated-By: PostHog Code
Task-Id: d8be0ab0-cbd0-4ad1-8358-e58c560b2f53
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 20, 2026

Reviews (1): Last reviewed commit: "fix(code): reduce window minWidth so hal..." | Re-trigger Greptile

@charlesvien charlesvien merged commit 08d0511 into main May 20, 2026
15 checks passed
@charlesvien charlesvien deleted the posthog-code/reduce-window-min-width branch May 20, 2026 21:39
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