How to keep the width of the left sidebar unchanged when maximizing or minimizing the window like Zed
for example

This GIF is a code example from the document. (IDE Layout)
https://longbridge.github.io/gpui-component/docs/components/resizable#import
I found that my code has some zoom in and out issues, and then I checked the documentation and found that there are also such issues. How is zed implementing this?
my code

How to keep the width of the left sidebar unchanged when maximizing or minimizing the window like Zed
for example
This GIF is a code example from the document. (IDE Layout)
https://longbridge.github.io/gpui-component/docs/components/resizable#import
I found that my code has some zoom in and out issues, and then I checked the documentation and found that there are also such issues. How is zed implementing this?
my code