fix : warning from tailwindcss

This commit is contained in:
2026-09-20 00:55:57 +07:00 Unverified
parent 7c10b2c995
commit cd72f1fa5f
14 changed files with 499 additions and 209 deletions
@@ -279,7 +279,7 @@ function OverviewPoster({
<DndContext sensors={posterSensors} onDragEnd={handlePosterDragEnd}>
<div
ref={posterRef}
className="relative isolate aspect-square size-full overflow-hidden bg-black text-white [container-type:inline-size]"
className="relative isolate aspect-square size-full overflow-hidden bg-black text-white @container"
style={{ fontFamily: '"Genshin Overview", sans-serif' }}
>
{composition.backgroundUrl ? (
@@ -369,7 +369,7 @@ function OverviewPoster({
offset={composition.fadeOffset}
interactive={interactive && activeLayer === "fade"}
className={cn(
"absolute inset-x-0 -top-[3cqw] bottom-0",
"absolute inset-x-0 top-[-3cqw] bottom-0",
activeLayer === "fade"
? "touch-none cursor-grab active:cursor-grabbing"
: "pointer-events-none",
@@ -1497,7 +1497,7 @@ export function OverviewImageGenerator({
<div
ref={captureRef}
aria-hidden="true"
className="pointer-events-none fixed top-0 -left-[10000px] order-5 size-[1000px]"
className="pointer-events-none fixed top-0 left-[-10000px] order-5 size-250"
>
<OverviewPoster
composition={composition}