sjsafranek / mtghordesurvival

Web app that simulates the MTG Horde Survival. Uses the deck list from https://www.quietspeculation.com/2011/09/horde-magic-a-new-way-to-play-magic-and-survive-zombie-invasions/
MIT License
2 stars 0 forks source link

White Corners on Cards #1

Closed lancesafranek closed 5 years ago

lancesafranek commented 5 years ago

Corners of cards have white bits. Very noticeable on black background.

sjsafranek commented 5 years ago

this might be a little difficult to fix. It appears to be on the image itself: https://img.scryfall.com/cards/normal/front/8/f/8f8a75da-ea3c-43e7-9d32-1c92f8ec0fd2.jpg?1562928849

sjsafranek commented 5 years ago

adding a border-radius to the image css appears to resolve this issue

lancesafranek commented 5 years ago

Still an issue for cards resolving (from the stack). This did fix it for the battlefield.

sjsafranek commented 5 years ago

Will add the border-radius class to sweetalert card images

sjsafranek commented 5 years ago

a css class (mtg-card-image) has been added to sweetalert card images

lancesafranek commented 5 years ago

This has regressed.

lancesafranek commented 5 years ago

Clarification, this is still an issue only for tapped creatures.

sjsafranek commented 5 years ago

i am a little confused why this has happened to cards in the battlefield... I am not entirely sure how the svg clip is working in this regard

sjsafranek commented 5 years ago

svg 'clip-path: inset' property is now used. This seems to have fixed the issue