Increase map card size (scale 0.52/0.42)

- Fix duplicate CSS rule that was overriding card size
- Increase scale from 0.45 to 0.52 (desktop) and 0.38 to 0.42 (mobile)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Your Name 2026-01-21 20:48:11 +00:00
parent cc3baf8c29
commit 848f19d02b
1 changed files with 4 additions and 4 deletions

View File

@ -49,14 +49,14 @@
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
transform: translate(-50%, calc(-100% - 12px)) scale(0.45) rotate(var(--card-tilt)); transform: translate(-50%, calc(-100% - 12px)) scale(0.52) rotate(var(--card-tilt));
transform-origin: bottom center; transform-origin: bottom center;
will-change: transform; will-change: transform;
} }
@media (max-width: 640px){ @media (max-width: 640px){
.sw-template-mini-wrap{ .sw-template-mini-wrap{
transform: translate(-50%, calc(-100% - 12px)) scale(0.38) rotate(var(--card-tilt)); transform: translate(-50%, calc(-100% - 12px)) scale(0.42) rotate(var(--card-tilt));
} }
} }
@ -1229,13 +1229,13 @@ body[data-theme="light"] .sw-modal-x{
.sw-template-mini-wrap{ .sw-template-mini-wrap{
backface-visibility: hidden; backface-visibility: hidden;
transform: translate3d(-50%, calc(-100% - 12px), 0) scale(0.45) rotate(var(--card-tilt, 0deg)); transform: translate3d(-50%, calc(-100% - 12px), 0) scale(0.52) rotate(var(--card-tilt, 0deg));
transform-origin: bottom center; transform-origin: bottom center;
} }
@media (max-width: 640px){ @media (max-width: 640px){
.sw-template-mini-wrap{ .sw-template-mini-wrap{
transform: translate3d(-50%, calc(-100% - 12px), 0) scale(0.38) rotate(var(--card-tilt, 0deg)); transform: translate3d(-50%, calc(-100% - 12px), 0) scale(0.42) rotate(var(--card-tilt, 0deg));
} }
} }