File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export const LayoutGrid = ({ cards }: { cards: Card[] }) => {
5353 "absolute h-full w-full left-0 top-0 bg-black opacity-0 z-10" ,
5454 selected ?. id ? "pointer-events-auto" : "pointer-events-none"
5555 ) }
56- animate = { { opacity : selected ?. id ? 0.7 : 0 } }
56+ animate = { { opacity : selected ?. id ? 0.9 : 0 } }
5757 />
5858 </ div >
5959 ) ;
@@ -77,15 +77,15 @@ const ImageComponent = ({ card }: { card: Card }) => {
7777
7878const SelectedCard = ( { selected } : { selected : Card | null } ) => {
7979 return (
80- < div className = "bg-transparent h-full w-full flex flex-col justify-end rounded-lg shadow-2xl relative z-[60]" >
80+ < div className = "bg-transparent pt-6 h-full w-full flex flex-col justify-end rounded-lg shadow-2xl relative z-[60]" >
8181 < motion . div
8282 initial = { {
8383 opacity : 0 ,
8484 } }
8585 animate = { {
8686 opacity : 0.6 ,
8787 } }
88- className = "absolute inset-0 h-full w-full bg-black opacity-60 z-10"
88+ className = "absolute inset-0 h-full w-full bg-gray-800 opacity-60 z-10"
8989 />
9090 < motion . div
9191 layoutId = { `content-${ selected ?. id } ` }
You can’t perform that action at this time.
0 commit comments