From 61a4ea1081df4c8ca0fdc8ff69a862dee7bc57e3 Mon Sep 17 00:00:00 2001 From: Paul Tiedtke Date: Mon, 11 Nov 2024 04:29:08 +0100 Subject: [PATCH] fix: pointer events always disabled for sidebar --- src/fragments/sidebar/Sidebar.styles.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fragments/sidebar/Sidebar.styles.ts b/src/fragments/sidebar/Sidebar.styles.ts index fd7ca47..6d12daf 100644 --- a/src/fragments/sidebar/Sidebar.styles.ts +++ b/src/fragments/sidebar/Sidebar.styles.ts @@ -25,8 +25,8 @@ export const sidebar = tv({ variants: { layout: { auto: { - expanded: 'w-20 opacity-0 pointer-events-none xl:w-72 xl:opacity-100 xl:pointer-events-all', - placeholder: 'w-20 opacity-0 pointer-events-none xl:w-72 xl:opacity-100 xl:pointer-events-all', + expanded: 'w-20 opacity-0 pointer-events-none xl:w-72 xl:opacity-100 xl:pointer-events-auto', + placeholder: 'w-20 opacity-0 pointer-events-none xl:w-72 xl:opacity-100 xl:pointer-events-auto', layoutButtonWrapper: 'left-20 translate-x-1/2 rotate-180 xl:left-72 xl:-translate-x-1/2 xl:rotate-0', collapsed: 'xl:opacity-0', },