瀏覽代碼

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
文件差異過大導致無法顯示
查看文件


Loading…
取消
儲存