friedrich-de / Basic-Mining-Deck

Mining Deck Template
34 stars 5 forks source link

Support for swiping on ankidroid? #6

Closed doctorhibert closed 6 months ago

doctorhibert commented 9 months ago

I'm not entirely sure why, but when trying to swipe left in ankidroid, you need to swipe twice, as shown below (please ignore the older cards with no image):

mpv_adjC8YKXaM

Is it because of the size of the cards or something? Is there a way to fix this, be it in the css or on ankidroid somehow?

friedrich-de commented 6 months ago

Yes, looks like it's because of the size. The issue seems to be that the card is bigger than your screen, resulting in scroll able space to the side.

You can reduce the max-width property in the styling section for the portrait orientation to 90% or 80%. Should fix this.