ant-design / ant-design-pro

👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
https://pro.ant.design
MIT License
36.31k stars 8.14k forks source link

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

Open burning110-lab opened 4 months ago

burning110-lab commented 4 months ago

🧐 问题描述 | 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: