Quellcode durchsuchen

spaziatura flipbook aggiustata

Sviluppo_Carrello_Immagini
Lorenzo Pollutri vor 1 Monat
Ursprung
Commit
9a7eaeafe5
1 geänderte Dateien mit 9 neuen und 9 gelöschten Zeilen
  1. +9
    -9
      components/PublicGrid.tsx

+ 9
- 9
components/PublicGrid.tsx Datei anzeigen

@@ -466,7 +466,7 @@ function FlipBook({ pages, onClose }: { pages: string[]; onClose: () => void })
flippingTime: 800, flippingTime: 800,
usePortrait: true, usePortrait: true,
maxShadowOpacity: 0.5, maxShadowOpacity: 0.5,
showCover: true,
showCover: false,
mobileScrollSupport: false, mobileScrollSupport: false,
useMouseEvents: true, useMouseEvents: true,
swipeDistance: 30, swipeDistance: 30,
@@ -520,23 +520,23 @@ function FlipBook({ pages, onClose }: { pages: string[]; onClose: () => void })
>✕</button> >✕</button>


<style dangerouslySetInnerHTML={{ __html: ` <style dangerouslySetInnerHTML={{ __html: `
.stf__item.--left::after,
.stf__item.--right::after {
.stf__item[class~="--left"]::after,
.stf__item[class~="--right"]::after {
content: ''; content: '';
position: absolute; position: absolute;
top: 0; top: 0;
bottom: 0; bottom: 0;
width: 28px;
width: 50px;
pointer-events: none; pointer-events: none;
z-index: 2;
z-index: 10;
} }
.stf__item.--left::after {
.stf__item[class~="--left"]::after {
right: 0; right: 0;
background: linear-gradient(to left, rgba(0,0,0,0.45), transparent);
background: linear-gradient(to left, rgba(0,0,0,0.65), transparent);
} }
.stf__item.--right::after {
.stf__item[class~="--right"]::after {
left: 0; left: 0;
background: linear-gradient(to right, rgba(0,0,0,0.45), transparent);
background: linear-gradient(to right, rgba(0,0,0,0.65), transparent);
} }
`}} /> `}} />
<div <div


Laden…
Abbrechen
Speichern