mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
- prevent drag-handle being clipped in header <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Reduced horizontal padding and header height in the app sidebar fallback view for a more compact layout. * Updated header padding in the workbench view and introduced conditional left padding based on sidebar switch visibility. * **Refactor** * Simplified and centralized the logic for displaying the sidebar switch, improving code clarity and maintainability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->