# fix\(web\): fold a caller's height cap into the image slot's width bound · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/d18793ccd7ee493069b937119ea852088ba12cf3)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: d18793ccd7ee493069b937119ea852088ba12cf3

Requested commit: d18793ccd7ee493069b937119ea852088ba12cf3

Commit: d18793ccd7ee493069b937119ea852088ba12cf3

Tree: 47707f6271514658806e515417f07bc07d5850b7

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
fix(web): fold a caller's height cap into the image slot's width bound

A max-height alone does not feed back through aspect-ratio once width is
definite, so a capped portrait image kept a box wider than the picture.
The viewed-image row now passes its cap in rem and the width bound
shrinks to match.

Co-Authored-By: Claude Code <noreply@anthropic.com>

```

## Parents

- [81352507cc5a2b7578c9c3120cde8ddb2d65c415](https://git.cafe/pingdotgg/t3code/commit/81352507cc5a2b7578c9c3120cde8ddb2d65c415?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/d18793ccd7ee493069b937119ea852088ba12cf3?format=markdown)
