Skip to content

editor: Add FlexClipped block style and use it for spacer blocks (#49478) (cherry-pick to preview) - #49492

Merged
cole-miller merged 1 commit into
v0.224.xfrom
cherry-pick-v0.224.x-a1af11c8
Feb 18, 2026
Merged

editor: Add FlexClipped block style and use it for spacer blocks (#49478) (cherry-pick to preview)#49492
cole-miller merged 1 commit into
v0.224.xfrom
cherry-pick-v0.224.x-a1af11c8

Conversation

@zed-zippy

@zed-zippy zed-zippy Bot commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

Cherry-pick of #49478 to preview


FlexClipped acts like Flex, but only allows the block to render in
the main hitbox, not the gutter. This is a visual improvement for the
spacers compared to Sticky.

Screen.Recording.2026-02-18.at.8.33.53.AM.mov

Release Notes:

  • git: Improved the visual display for spacers in the split diff view.

Co-authored-by: Smit Barmase heysmitbarmase@gmail.com

…49478)

`FlexClipped` acts like `Flex`, but only allows the block to render in
the main hitbox, not the gutter. This is a visual improvement for the
spacers compared to `Sticky`.


https://github.com/user-attachments/assets/2b0aed0c-91ff-4e74-85b1-aea81f4e8a35


Release Notes:

- git: Improved the visual display for spacers in the split diff view.

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
@cole-miller
cole-miller merged commit 3b5dffe into v0.224.x Feb 18, 2026
@cole-miller
cole-miller deleted the cherry-pick-v0.224.x-a1af11c8 branch February 18, 2026 15:49
@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Feb 18, 2026
@zed-community-bot zed-community-bot Bot added the bot Pull requests authored by a bot label Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot Pull requests authored by a bot cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant