Skip to content

Commit 2120606

Browse files
wrap for really long enums
1 parent 6133d6c commit 2120606

File tree

1 file changed

+3
-1
lines changed
  • web/renderer/components/EditCellInput

1 file changed

+3
-1
lines changed

web/renderer/components/EditCellInput/Input.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export default function Input(props: Props) {
6666
...styles,
6767
width: "max-content",
6868
minWidth: "100%",
69+
maxWidth: "300px",
6970
};
7071
},
7172
singleValue: styles => {
@@ -80,7 +81,8 @@ export default function Input(props: Props) {
8081
option: styles => {
8182
return {
8283
...styles,
83-
whiteSpace: "nowrap",
84+
whiteSpace: "normal",
85+
wordWrap: "break-word",
8486
};
8587
},
8688
};

0 commit comments

Comments
 (0)