diff --git a/.changeset/lazy-ants-exercise.md b/.changeset/lazy-ants-exercise.md new file mode 100644 index 0000000000..eefcc41a34 --- /dev/null +++ b/.changeset/lazy-ants-exercise.md @@ -0,0 +1,5 @@ +--- +"@heroui/theme": patch +--- + +refactor: remove cursor-hit in hiddenInputClasses (#4474) diff --git a/packages/core/theme/src/utils/classes.ts b/packages/core/theme/src/utils/classes.ts index 2711a48a3b..68e5188284 100644 --- a/packages/core/theme/src/utils/classes.ts +++ b/packages/core/theme/src/utils/classes.ts @@ -69,9 +69,6 @@ export const collapseAdjacentVariantBorders = { }; export const hiddenInputClasses = [ - // Variables - "[--cursor-hit-x:8px]", - // Font styles "font-inherit", "text-[100%]", @@ -88,8 +85,7 @@ export const hiddenInputClasses = [ // Positioning & Hit area "absolute", "top-0", - "start-[calc(var(--cursor-hit-x)*-1)]", - "w-[calc(100%+var(--cursor-hit-x)*2)]", + "w-full", "h-full", // Opacity and z-index