# ui: Fix custom size preview example of vector component \(\#43633\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 28dde14a33ee7b2a9858dfbb41b350e90118e4f3

Requested commit: 28dde14a33ee7b2a9858dfbb41b350e90118e4f3

Commit: 28dde14a33ee7b2a9858dfbb41b350e90118e4f3

Tree: fb9043496c7c7733b0110682f8215ee019599de5

Author: Floyd Wang

Committer: GitHub

## Message

```
ui: Fix custom size preview example of vector component (#43633)

In the vector component custom size preview example, the image will
overflow the content box.

| Before | After |
| - | - |
| <img width="1235" height="1042" alt="Before"
src="https://github.com/user-attachments/assets/1c4ff772-2578-41b2-94e8-9e2d625484f8"
/> | <img width="1234" height="1044" alt="After"
src="https://github.com/user-attachments/assets/19d6ab1a-d169-417e-b550-1e422358288e"
/> |

Release Notes:

- N/A

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
```

## Parents

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

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