Remove margin above first row of cards

This commit is contained in:
Kovid Goyal 2026-03-15 16:29:10 +05:30
parent 992a08cf29
commit 499aeeb01e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -429,9 +429,7 @@ class VirtualCardContainer(QWidget):
# Assign cards to rows
self._rows.clear()
row_idx = 0
i = 0
y = lc.margin
row_idx = i = y = 0
while i < len(self._cards):
row_cards = self._cards[i : i + self._cols_per_row]
row_height = max(c.height for c in row_cards)