ant-design/ant-design-pro

The operation bar in the list cannot adaptively display list items based on the content of the column, resulting in a single row display

Opened this issue · 0 comments

🧐 问题描述 | Problem description

I want to operate SettingOptionType to display the list content on one line instead of wrapping it, but there is no corresponding property to operate on. Once the column description displays too much content in other languages, it becomes a multi line display, which is particularly unsightly. I want to display one line

💻 示例代码 | Sample code

export declare type SettingOptionType = {
draggable?: boolean;
checkable?: boolean;
showListItemOption?: boolean;
checkedReset?: boolean;
listsHeight?: number;
extra?: React.ReactNode;
children?: React.ReactNode;
settingIcon?: React.ReactNode;
};

🚑 其他信息 | Other information

What should I do?

OS:

Node:

浏览器 | browser: