# Fix \`corner_radii\` clamping for \`Img\` when actual size is smaller than the container \(\#27473\) · gitcafe/zed

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

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

Visibility: public

Requested revision: df583d73b98a309d3b8df0888a774837238b78ca

Requested commit: df583d73b98a309d3b8df0888a774837238b78ca

Commit: df583d73b98a309d3b8df0888a774837238b78ca

Tree: c721fab59298dbfdca3d884a201a9417289001c2

Author: Michael Sloan

Committer: GitHub

## Message

```
Fix `corner_radii` clamping for `Img` when actual size is smaller than the container (#27473)

Noticed this when working on #27472

Release Notes:

- N/A
```

## Parents

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

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