Skip to content

Commit 298f688

Browse files
hh
1 parent 0f86cc5 commit 298f688

4 files changed

Lines changed: 351 additions & 293 deletions

File tree

components/Yugioh/YugiohSiteBackground.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { useRouter } from "next/router";
66
const MOBILE_BACKGROUND = "/images/backgrounds/yugioh/background.svg";
77
const DESKTOP_CHARACTER = "/yugioh-parallax/character.png";
88
const DESKTOP_GLOW = "/yugioh-parallax/glow.png";
9-
const DESKTOP_QUERY = "(min-width: 901px)";
10-
const ORIGINAL_SIDEBAR_BREAKPOINT = 1024;
9+
const DESKTOP_QUERY = "(min-width: 1280px)";
10+
const ORIGINAL_SIDEBAR_BREAKPOINT = 1280;
1111
const ORIGINAL_SIDEBAR_WIDTH = 324;
1212
const ANIMATION_EASING = 0.08;
1313
const SETTLE_EPSILON = 0.002;
@@ -358,7 +358,7 @@ export default function YugiohSiteBackground() {
358358
const mainRegion = document.querySelector( ".app-shell-main" );
359359
const measuredResultsBand = usesMeasuredArtBand
360360
? document.getElementById( "collection-results-art-band" )
361-
|| document.getElementById( "set-results-art-band" )
361+
|| document.getElementById( "set-results-art-band" )
362362
: null;
363363
const resizeObserver = typeof ResizeObserver === "function" && mainRegion
364364
? new ResizeObserver( () => {
@@ -474,7 +474,7 @@ export default function YugiohSiteBackground() {
474474
transform-style: preserve-3d;
475475
will-change: transform;
476476
pointer-events: none;
477-
transform: translate3d(0, 1.5%, 0) scale(1.02) rotateX(0deg) rotateY(0deg);
477+
transform: translate3d(0, 1.5%, 0) rotateX(0deg) rotateY(0deg);
478478
}
479479
480480
.ygo-bg.reduced-measured-parallax-page .stage {
@@ -621,7 +621,7 @@ export default function YugiohSiteBackground() {
621621
);
622622
}
623623
624-
@media ( max-width: 900px ) {
624+
@media ( max-width: 1600px ) {
625625
.mobile-art {
626626
display: block;
627627
}

0 commit comments

Comments
 (0)