# project panel: Add a shadow in the last sticky item \(\#34042\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/211d6205b904247cbf10e58b93f924767a3cec58)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 211d6205b904247cbf10e58b93f924767a3cec58

Requested commit: 211d6205b904247cbf10e58b93f924767a3cec58

Commit: 211d6205b904247cbf10e58b93f924767a3cec58

Tree: b27bd7f767ab02f6d70fe45a4079baae7f7e9c9d

Author: Danilo Leal

Committer: GitHub

## Message

```
project panel: Add a shadow in the last sticky item (#34042)

Follow-up to https://github.com/zed-industries/zed/pull/33994. This PR
adds a subtle shadow—built from an absolute-positioned div, due to
layering of items—to the last sticky item in the project panel when that
setting is turned on. This helps understand the block of items that is
currently sticky.

<img
src="https://github.com/user-attachments/assets/0e030e93-9bc6-42ff-8d0d-3e46f1986152"
width="300"/>

Would love to add indent guides to the items that are sticky as a next
step.

Release Notes:

- project panel: When `sticky_scroll` is true, the last item will now
have a subtle shadow to help visualizing the block of items that are
currently sticky.
```

## Parents

- [4693f1675903d5c4b820aace164f61bbb3c9090f](https://git.cafe/gitcafe/zed/commit/4693f1675903d5c4b820aace164f61bbb3c9090f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/211d6205b904247cbf10e58b93f924767a3cec58?format=markdown)
