소스 검색

Book card interaction smooth 6

Sviluppo_Carrello_Immagini
Lorenzo Pollutri 1 개월 전
부모
커밋
55137c95ba
2개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. +10
    -1
      components/PublicGrid.tsx
  2. +1
    -1
      lib/page-flip/index.js

+ 10
- 1
components/PublicGrid.tsx 파일 보기

@@ -539,9 +539,18 @@ function FlipBook({ pages, onClose }: { pages: string[]; onClose: () => void })
aria-label="Chiudi"
>✕</button>

{/* Container background shows through when on cover/back pages.
The page-flip canvas was patched (lib/page-flip/index.js) to clear
transparently instead of filling white, so this gradient is visible
on the empty half of the spread. */}
<div
ref={containerRef}
style={{ width: 'min(95vw, 1400px)', height: 'min(85vh, 900px)' }}
style={{
width: 'min(95vw, 1400px)',
height: 'min(85vh, 900px)',
background: 'linear-gradient(135deg, #4a3826 0%, #2e2114 55%, #1a1108 100%)',
boxShadow: 'inset 0 0 80px rgba(0,0,0,0.55)',
}}
className="shadow-2xl"
/>



+ 1
- 1
lib/page-flip/index.js
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


불러오는 중...
취소
저장