mirror of
https://github.com/alexta69/metube.git
synced 2026-09-21 13:35:01 +00:00
ec01524527
The actions cell packs its icons left, but several are conditional: Start in Downloading, and Retry / Download file / Share in Completed. A table column takes one width — the widest row's — so every shorter row left its slack on the right and slid its icons out of column. Measured in the browser: with a mixed Completed list, the error row put Delete at x=769 and the finished row put it at x=815. Delete is the destructive control, and it moved depending on whether the row above happened to have errored. Right-aligning the group pins the always-present icons — Open source and Delete — to a fixed column on every row, and lets the optional ones extend leftward instead. It costs no layout: the column was already sized to the widest row, so this only moves the slack from the right to the left of the group. The chapter-file sub-rows are deliberately left packing left. Their lone download icon then sits under the parent row's own download icon, which is the alignment that reads correctly there; right-aligning it would park it under Delete instead. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>