From 5f735a989297dd5b5b82eba84b91ddbdb33cd3c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D5=A1=D3=84=D5=A1?= Date: Mon, 13 May 2024 09:57:42 +0800 Subject: [PATCH] fix(theme): add pointer-events-none to skeleton base (#2972) --- .changeset/slow-mice-act.md | 5 +++++ packages/core/theme/src/components/skeleton.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/slow-mice-act.md diff --git a/.changeset/slow-mice-act.md b/.changeset/slow-mice-act.md new file mode 100644 index 0000000000..70456e767c --- /dev/null +++ b/.changeset/slow-mice-act.md @@ -0,0 +1,5 @@ +--- +"@nextui-org/theme": patch +--- + +add pointer-events-none to skeleton base (#1714) diff --git a/packages/core/theme/src/components/skeleton.ts b/packages/core/theme/src/components/skeleton.ts index e5a0825a7c..3384411dee 100644 --- a/packages/core/theme/src/components/skeleton.ts +++ b/packages/core/theme/src/components/skeleton.ts @@ -19,6 +19,7 @@ const skeleton = tv({ "relative", "overflow-hidden", "bg-content3 dark:bg-content2", + "pointer-events-none", // before "before:opacity-100", "before:absolute",