fix character card aspect ratio to match actual image dimensions

Character grid images are 280x160 (7:4 ratio, wider than tall).
The previous ratio was inverted. Now using 100px width with correct
aspect-ratio: 280/160.
This commit is contained in:
Justin Edmund 2025-12-02 11:35:00 -08:00
parent 408f729976
commit a664d41e63

View file

@ -53,12 +53,12 @@
<style lang="scss">
@use '$src/themes/spacing' as *;
@use '$src/themes/effects' as *;
@use '$src/themes/rep' as rep;
.card {
position: relative;
width: 70px;
@include rep.aspect(rep.$char-cell-w, rep.$char-cell-h);
width: 100px;
// Character grid images are 280x160 (7:4 ratio)
aspect-ratio: 280 / 160;
padding: 0;
border: 2px solid transparent;
border-radius: 8px;