Files
mantra-kmp/composeApp
Kgothatso Ngako 8a23a28e54 fix: let the untranslated side read as text, not as a button
The translation cell was a `TextButton` with its content padding zeroed, which
took care of the padding and left everything else a button brings: Material's
pill shape, a 40dp minimum height, and a ripple rounded to match. So a chapter's
two columns -- the same text, one side not yet translated -- did not read as two
columns of one table. One was prose and the other was a control, and the thing
being offered is not a control, it is the text with an invitation to write it.

It is a plain `Row` now, laid out like the original cell beside it. The click
moves up onto the cell's `Box`, before the 12dp padding rather than inside it,
so the tap target is the whole cell rather than a button indented within it and
the ripple is the rectangle the cell already was. `TableRow` grows a
`rightModifier` to carry that, which is where a modifier for that cell belongs.

Same greyed-out placeholder, same chevron, same destination.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-06 13:06:28 +02:00
..