With width:100%, the table stretched to fill the container — and the Character column (the only one with stretchable text) absorbed all the extra space, looking much wider than the longest name needed. width:auto lets each column size to its content. Table now fits its data; container still scrolls horizontally if content ever exceeds the viewport. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| components | ||
| contexts | ||
| hooks | ||
| styles | ||
| types | ||
| utils | ||
| App.tsx | ||
| main.tsx | ||