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",
|
"outline-none",
|
||||||
"select-none",
|
"select-none",
|
||||||
"opacity-0",
|
"opacity-0",
|
||||||
"hover:!opacity-100",
|
|
||||||
"cursor-pointer",
|
"cursor-pointer",
|
||||||
"active:!opacity-70",
|
"active:!opacity-70",
|
||||||
"rounded-full",
|
"rounded-full",
|
||||||
@ -143,13 +142,13 @@ const input = tv({
|
|||||||
md: {
|
md: {
|
||||||
inputWrapper: "h-10 min-h-10 rounded-medium",
|
inputWrapper: "h-10 min-h-10 rounded-medium",
|
||||||
input: "text-small",
|
input: "text-small",
|
||||||
clearButton: "text-large",
|
clearButton: "text-large hover:!opacity-100",
|
||||||
},
|
},
|
||||||
lg: {
|
lg: {
|
||||||
label: "text-medium",
|
label: "text-medium",
|
||||||
inputWrapper: "h-12 min-h-12 rounded-large",
|
inputWrapper: "h-12 min-h-12 rounded-large",
|
||||||
input: "text-medium",
|
input: "text-medium",
|
||||||
clearButton: "text-large",
|
clearButton: "text-large hover:!opacity-100",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
radius: {
|
radius: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user