diff --git a/src/generate_cards_mvp.py b/src/generate_cards_mvp.py index 7550b52..bf48a01 100644 --- a/src/generate_cards_mvp.py +++ b/src/generate_cards_mvp.py @@ -220,6 +220,7 @@ for card_data in cards: width=x_width - (border_width_x * 2), height=200, path=card_skin_data["image_path"], + preserveAspectRatio="xMidYMid slice", ) ) d.append(dw.Rectangle(x=2, y=65 - 1, width=border_width_x - 2, height=200 + 2))