mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
refactor: remove cursor-hit in hiddenInputClasses (#4474)
* refactor: remove cursor-hit in hiddenInputClasses * Create lazy-ants-exercise.md * chore(changeset): update package name --------- Co-authored-by: աӄա <wingkwong.code@gmail.com>
This commit is contained in:
parent
7402e00b62
commit
a1cc378887
5
.changeset/lazy-ants-exercise.md
Normal file
5
.changeset/lazy-ants-exercise.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@heroui/theme": patch
|
||||
---
|
||||
|
||||
refactor: remove cursor-hit in hiddenInputClasses (#4474)
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user