Skip to content
Snippets Groups Projects
Commit 6d7816a5 authored by Andris Borbás's avatar Andris Borbás
Browse files

Fix potential breaking in gallery

parent 716570ae
No related branches found
No related tags found
1 merge request!3CI
Pipeline #5743 passed with warnings
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
...@@ -27,7 +27,7 @@ export default function Gallery({ works }: GalleryProps): JSX.Element { ...@@ -27,7 +27,7 @@ export default function Gallery({ works }: GalleryProps): JSX.Element {
key={work.title + work.author} key={work.title + work.author}
className={clsx( className={clsx(
"flex flex-col", "flex flex-col",
"hover:z-30 transform-gpu hover:scale-105 transition ease-in-out", "transform-gpu hover:scale-105 transition ease-in-out",
i !== works.length - 1 && "mb-3 md:mb-4 xl:mb-8", i !== works.length - 1 && "mb-3 md:mb-4 xl:mb-8",
)} )}
> >
...@@ -39,7 +39,7 @@ export default function Gallery({ works }: GalleryProps): JSX.Element { ...@@ -39,7 +39,7 @@ export default function Gallery({ works }: GalleryProps): JSX.Element {
}} }}
> >
<img <img
className="hover:z-20 rounded-t-lg transform-gpu hover:scale-105 transition ease-in-out" className="rounded-t-lg transform hover:scale-105 transition ease-in-out"
src={work.image.src} src={work.image.src}
alt={work.title} alt={work.title}
/> />
......
...@@ -78,7 +78,7 @@ body { ...@@ -78,7 +78,7 @@ body {
/* line-height: 0; */ /* line-height: 0; */
} }
.work-gallery figure { .work-gallery * {
-webkit-column-break-inside: avoid; -webkit-column-break-inside: avoid;
page-break-inside: avoid; page-break-inside: avoid;
break-inside: avoid; break-inside: avoid;
......
...@@ -14,9 +14,7 @@ module.exports = { ...@@ -14,9 +14,7 @@ module.exports = {
}, },
}, },
variants: { variants: {
extend: { extend: {},
zIndex: ["hover"],
},
}, },
plugins: [], plugins: [],
}; };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment