# Fix chat attachment height on narrow timeline resizes · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/a76413594e772f476b98ba6384d0efe9906e75ff)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: a76413594e772f476b98ba6384d0efe9906e75ff

Requested commit: a76413594e772f476b98ba6384d0efe9906e75ff

Commit: a76413594e772f476b98ba6384d0efe9906e75ff

Tree: f79844f24acc6c72de129628ba1d02d81c30f3e4

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Fix chat attachment height on narrow timeline resizes

- recompute timeline width from the root element on ResizeObserver updates
- rerun width effect when message/working state changes
- reduce minimum user chars per line for narrow layouts and add regression test

```

## Parents

- [1100d5a6f7e00ca41aa795ad601f78c670f5e5ab](https://git.cafe/screen/t3code-personal/commit/1100d5a6f7e00ca41aa795ad601f78c670f5e5ab?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/a76413594e772f476b98ba6384d0efe9906e75ff?format=markdown)
