Skip to content

fix: avoid Windows title bar overlap in RightPanel#198

Open
xuxu777xu wants to merge 1 commit intoop7418:mainfrom
xuxu777xu:fix/right-panel-windows
Open

fix: avoid Windows title bar overlap in RightPanel#198
xuxu777xu wants to merge 1 commit intoop7418:mainfrom
xuxu777xu:fix/right-panel-windows

Conversation

@xuxu777xu
Copy link
Contributor

Summary

  • add Windows-only top spacing for collapsed and expanded RightPanel states
  • keep the existing layout unchanged on non-Windows platforms
  • avoid SSR mismatch by gating userAgent detection behind mounted state

Validation

  • npm run typecheck
  • npx eslint src/components/layout/RightPanel.tsx

- detect Windows after mount without SSR mismatch

- add top spacing only for right panel states affected by title bar controls
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.

1 participant