Skip to content

commit view: Fix layout shift while loading commit#44548

Merged
agu-z merged 6 commits intomainfrom
commit-view-layout-shift
Dec 10, 2025
Merged

commit view: Fix layout shift while loading commit#44548
agu-z merged 6 commits intomainfrom
commit-view-layout-shift

Conversation

@agu-z
Copy link
Contributor

@agu-z agu-z commented Dec 10, 2025

Fixes a few cases where the commit view would layout shift as the diff loaded. This was caused by:

  • Adding the commit message buffer after all the diff files
  • Using the gutter dimensions from the last frame for the avatar spacing

Release Notes:

  • commit view: Fix layout shift while loading commit

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 10, 2025
Co-authored-by: MrSubidubi <dev@bahn.sh>
@agu-z agu-z enabled auto-merge (squash) December 10, 2025 15:01
@agu-z agu-z merged commit 21f7e6a into main Dec 10, 2025
23 checks passed
@agu-z agu-z deleted the commit-view-layout-shift branch December 10, 2025 15:01
nrbnlulu pushed a commit to nrbnlulu/zed that referenced this pull request Dec 14, 2025
)

Fixes a few cases where the commit view would layout shift as the diff
loaded. This was caused by:
- Adding the commit message buffer after all the diff files
- Using the gutter dimensions from the last frame for the avatar spacing

Release Notes:

- commit view: Fix layout shift while loading commit

---------

Co-authored-by: MrSubidubi <dev@bahn.sh>
CherryWorm pushed a commit to CherryWorm/zed that referenced this pull request Dec 16, 2025
)

Fixes a few cases where the commit view would layout shift as the diff
loaded. This was caused by:
- Adding the commit message buffer after all the diff files
- Using the gutter dimensions from the last frame for the avatar spacing

Release Notes:

- commit view: Fix layout shift while loading commit

---------

Co-authored-by: MrSubidubi <dev@bahn.sh>
someone13574 pushed a commit to someone13574/zed that referenced this pull request Dec 16, 2025
)

Fixes a few cases where the commit view would layout shift as the diff
loaded. This was caused by:
- Adding the commit message buffer after all the diff files
- Using the gutter dimensions from the last frame for the avatar spacing

Release Notes:

- commit view: Fix layout shift while loading commit

---------

Co-authored-by: MrSubidubi <dev@bahn.sh>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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