Increase card sizes and improve gallery deduplication
- Polaroid scale: 0.58/0.48 (desktop/mobile) - Handle _l, _m, _s suffixes in gallery deduplication Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
848f19d02b
commit
081fba7244
|
|
@ -49,14 +49,14 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
transform: translate(-50%, calc(-100% - 12px)) scale(0.52) rotate(var(--card-tilt));
|
transform: translate(-50%, calc(-100% - 12px)) scale(0.58) 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.42) rotate(var(--card-tilt));
|
transform: translate(-50%, calc(-100% - 12px)) scale(0.48) 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.52) rotate(var(--card-tilt, 0deg));
|
transform: translate3d(-50%, calc(-100% - 12px), 0) scale(0.58) 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.42) rotate(var(--card-tilt, 0deg));
|
transform: translate3d(-50%, calc(-100% - 12px), 0) scale(0.48) rotate(var(--card-tilt, 0deg));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue