From faa4d71c968ddd23c4e32d7a0b4df55af2750b08 Mon Sep 17 00:00:00 2001 From: WK Wong Date: Mon, 13 May 2024 19:31:46 +0800 Subject: [PATCH] fix(theme): remove origin-bottom from button --- .changeset/honest-pianos-sleep.md | 5 +++++ packages/core/theme/src/components/button.ts | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changeset/honest-pianos-sleep.md diff --git a/.changeset/honest-pianos-sleep.md b/.changeset/honest-pianos-sleep.md new file mode 100644 index 0000000000..d8cc855ee0 --- /dev/null +++ b/.changeset/honest-pianos-sleep.md @@ -0,0 +1,5 @@ +--- +"@nextui-org/theme": patch +--- + +remove unnecessary origin-bottom in button diff --git a/packages/core/theme/src/components/button.ts b/packages/core/theme/src/components/button.ts index 2327e3c2b6..ea7f48a041 100644 --- a/packages/core/theme/src/components/button.ts +++ b/packages/core/theme/src/components/button.ts @@ -38,7 +38,6 @@ const button = tv({ "overflow-hidden", "tap-highlight-transparent", "data-[pressed=true]:scale-[0.97]", - "origin-bottom", // focus ring ...dataFocusVisibleClasses, ],