@ -37,6 +37,7 @@
text-overflow: ellipsis;
white-space: nowrap;
word-break: keep-all;
min-height: 18px;
}
:global {
@ -272,7 +272,8 @@ const EditableCell: React.FC<EditableCellProps> = (props) => {
<Input ref={inputRef} onPressEnter={save} onBlur={save}/>}
</Form.Item>
) : (
<div className={cs({ [styles["editable-cell"]]: record[dataIndex] })} onClick={toggleEdit}> {children} </div>
// record[dataIndex]
<div className={cs({ [styles["editable-cell"]]: true })} onClick={toggleEdit}> {children} </div>
);
return <td {...restProps}>{childNode}</td>;