mirror of
https://github.com/J3vb/OwnCord.git
synced 2026-09-03 03:50:00 +03:00
Replace CSS grid-template-columns with a JS layout calculator that tries every column count and picks the arrangement maximising tile area while preserving exact 16:9 ratio. ResizeObserver triggers recalculation on container resize. Tests updated to exercise the pure computeGridLayout function directly.