From cd0c6231a141fb3ff637dfcb6c3d0ac0b8c7aa95 Mon Sep 17 00:00:00 2001 From: Gleb <390857+GlebYavorski@users.noreply.github.com> Date: Thu, 30 Jul 2026 16:42:32 +0300 Subject: [PATCH] chore(transaction): drop dead :empty margin rule in list rows The `> *:empty + * { margin-left: 0 }` rule was the leftover pair of `> *:first-child:empty { flex-grow: 0 }`, removed in 335a6b70 (the actual fix for #142). Now that the empty first child grows again, the sibling's margin-left never affects layout, so the override does nothing. Co-Authored-By: Claude Opus 5 (1M context) --- .../transaction/TransactionList/Transaction/Transaction.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/3-widgets/transaction/TransactionList/Transaction/Transaction.tsx b/src/3-widgets/transaction/TransactionList/Transaction/Transaction.tsx index b4b9b2b8e..d32ca5afc 100644 --- a/src/3-widgets/transaction/TransactionList/Transaction/Transaction.tsx +++ b/src/3-widgets/transaction/TransactionList/Transaction/Transaction.tsx @@ -121,10 +121,6 @@ const Row = styled.div` mask-image: linear-gradient(to left, transparent, black 40px); -webkit-mask-image: linear-gradient(to left, transparent, black 40px); } - - > *:empty + * { - margin-left: 0; - } ` const SecondaryRow = styled(Row)`