File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed
web/renderer/components/EditCellInput Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,41 @@ export default function Input(props: Props) {
49
49
outerClassName = { css . editSelect }
50
50
mono
51
51
small
52
+ isSearchable
53
+ menuPortalTarget = { document . body }
52
54
customStyles = { s => {
53
55
return {
54
56
...s ,
57
+ control : styles => {
58
+ return {
59
+ ...styles ,
60
+ minWidth : "100px" ,
61
+ width : "100%" ,
62
+ } ;
63
+ } ,
64
+ menu : styles => {
65
+ return {
66
+ ...styles ,
67
+ width : "max-content" ,
68
+ minWidth : "100%" ,
69
+ maxWidth : "300px" ,
70
+ } ;
71
+ } ,
55
72
singleValue : styles => {
56
- return { ...styles , marginBottom : "6px" } ;
73
+ return {
74
+ ...styles ,
75
+ marginBottom : "6px" ,
76
+ overflow : "visible" ,
77
+ textOverflow : "clip" ,
78
+ whiteSpace : "nowrap" ,
79
+ } ;
80
+ } ,
81
+ option : styles => {
82
+ return {
83
+ ...styles ,
84
+ whiteSpace : "normal" ,
85
+ wordWrap : "break-word" ,
86
+ } ;
57
87
} ,
58
88
} ;
59
89
} }
You can’t perform that action at this time.
0 commit comments