mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(theme): clear button in mobile (#5252)
* fix(toast): fixed close button hover position * fix(input): fixed the clear button rendering on smaller devices * Delete .changeset/soft-spoons-march.md * Update input.ts * Undo unrelated toast changes
This commit is contained in:
parent
d40c744f46
commit
ee4d2ebe25
5
.changeset/kind-dolphins-listen.md
Normal file
5
.changeset/kind-dolphins-listen.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@heroui/theme": patch
|
||||
---
|
||||
|
||||
Fixed the clear button rendering for smaller devices (#5069)
|
||||
@ -61,7 +61,6 @@ const input = tv({
|
||||
"outline-none",
|
||||
"select-none",
|
||||
"opacity-0",
|
||||
"hover:!opacity-100",
|
||||
"cursor-pointer",
|
||||
"active:!opacity-70",
|
||||
"rounded-full",
|
||||
@ -143,13 +142,13 @@ const input = tv({
|
||||
md: {
|
||||
inputWrapper: "h-10 min-h-10 rounded-medium",
|
||||
input: "text-small",
|
||||
clearButton: "text-large",
|
||||
clearButton: "text-large hover:!opacity-100",
|
||||
},
|
||||
lg: {
|
||||
label: "text-medium",
|
||||
inputWrapper: "h-12 min-h-12 rounded-large",
|
||||
input: "text-medium",
|
||||
clearButton: "text-large",
|
||||
clearButton: "text-large hover:!opacity-100",
|
||||
},
|
||||
},
|
||||
radius: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user