From 4c04ac5ff90642a375f22f46274c2d280c2c9f6d Mon Sep 17 00:00:00 2001 From: Xevion Date: Sat, 17 Dec 2022 20:54:08 -0600 Subject: [PATCH] Simplify isometric matrix transform, disable arrow pointer events - Pointer events were being intercepted by high z-level arrows above boxes, making their hover events somewhat flaky and glitchy --- src/components/BoxGraphic.tsx | 2 +- src/styles/globals.scss | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/BoxGraphic.tsx b/src/components/BoxGraphic.tsx index 0874a3a..9385281 100644 --- a/src/components/BoxGraphic.tsx +++ b/src/components/BoxGraphic.tsx @@ -26,7 +26,7 @@ const BoxGraphic = ({id, children, className}: BoxGraphicProps) => { {/* Matrix applies isometric transform, rotate for adjustment, translate to place on top of box */} - .text { @apply transition-opacity opacity-30; } &:hover { > .text { @apply opacity-100; }