mirror of
https://github.com/aculix/negotium.git
synced 2026-09-11 07:28:17 +00:00
c17dad6f1f
Making the task text clickable turned it into a button, and the drag handler skips anything inside a button. That quietly cost the row its best drag handle: press and move across the text and nothing picked the card up, so you got a text selection instead. Verified before changing anything, dragging from the text did nothing while dragging from the row's padding worked. Editing moves to a pencil next to the arrow and the bin, and the text goes back to being text. Rows also stop being selectable, since the row is a drag handle and highlighting words across one is never what you meant. The edit field keeps selection so text can still be copied out of it. A third button costs width on a phone, where all three stay visible because there is no hover. Grouping the actions so their gaps stop multiplying across the row, and drawing them at 26px, keeps most of it back: 199px of text becomes 187, 24 characters a line becomes 23. The 44px tap targets come from the overlay underneath, so a smaller drawn button does not shrink them. Also drops the click-after-drag guard, which only existed because the text was clickable.