File tree 3 files changed +10
-1
lines changed
packages/core/theme/src/components
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @nextui-org/theme " : patch
3
+ ---
4
+
5
+ fix the fullWidth variant in input and select component. (#3745 )
Original file line number Diff line number Diff line change @@ -185,6 +185,7 @@ const input = tv({
185
185
true : {
186
186
base : "w-full" ,
187
187
} ,
188
+ false : { } ,
188
189
} ,
189
190
isClearable : {
190
191
true : {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import {tv} from "../utils/tv";
5
5
6
6
const select = tv ( {
7
7
slots : {
8
- base : [ "group inline-flex flex-col relative w-full " ] ,
8
+ base : [ "group inline-flex flex-col relative" ] ,
9
9
label : [
10
10
"block" ,
11
11
"absolute" ,
@@ -146,6 +146,9 @@ const select = tv({
146
146
true : {
147
147
base : "w-full" ,
148
148
} ,
149
+ false : {
150
+ base : "min-w-40" ,
151
+ } ,
149
152
} ,
150
153
isDisabled : {
151
154
true : {
You can’t perform that action at this time.
0 commit comments