Slanfan / MTG-Tolaria

8 stars 1 forks source link

Deck editor: container divs are not scrollable #403

Open novalore opened 2 years ago

novalore commented 2 years ago

The deck editor is uncomfortable for the user when building a highlander deck with 100 cards because the container divs are not scrollable.

Possible solutions:

  1. div.maindeck and div.maybeboard should have overflow set correctly in CSS to allow for more cards.
  2. Fix the spacing between cards when using the zoom function (🔍 ). Currently it is necessary to force a reload (for example rearranging cards with the arrange deck function, otherwise the same number of cards is displayed, only with smaller images
Slanfan commented 2 years ago

Oh, you mean that rearrangement should happen automatically when changing zoom level?

Slanfan commented 2 years ago

Or maybe the margin should be calculated. But as of now, the cards are pushed out with a fixed margin based on the zoom level and all the cards have a fixed position.