Padding missing with Sidebar on MacOS

Describe the bug
When the Sidebar introduced in the recent 0.24.0 update is enabled and pinned to the left side of the screen, the padding on the application title bar does not extend down enough on the left side of the window, causing the “traffic light” button to be uncomfortably close to the content of the Sidebar.


The red bracket is the normal title bar padding. In contrast, the white bracket is too thin, causing the Sidebar’s content to be uncomfortably close to the “traffic lights”.

To Reproduce
Steps to reproduce the behavior:

  1. Open Anytype in windowed mode on Mac.
  2. Pin the Sidebar to the left side of the screen.

Expected behavior
This is not a significant issue - just a small aesthetic one that I noticed. Adding a bit more padding to the Sidebar portion to match the padding on the rest of the title bar would fix this issue.

System Information:

  • OS: MacOS 12.1
  • Device Manufacturer/Model: MacBook Air M1 Late 2020
  • Anytype Version: 0.24.0