ant-modal 修改 ant-modal-body 滚动条样式,代码如下: ::v-deep .ant-modal-body { display: flex; justify-content: space-around; height: calc(100vh-150px); overflow-y: auto;&::-webkit-scrollbar { width: 8px; height: 2px; background: #dee4e9; border-radius: 6px;/*外层轨道*/}&::-webkit-scrollbar-thumb { displ...
Closed tim-soft What problem does this feature solve? Provides a convenient/easy way to get rid of the padding in the ant-modal-body class, which is particularly useful with long, scrolling modal content. What does the proposed API look like?
在Ant Design Vue 中,Modal 组件的 bodyStyle 属性用于自定义模态框主体的样式。 bodyStyle 属性接受一个对象,该对象可以包含 CSS 样式属性,如 padding、backgroundColor 等,用于自定义模态框主体的样式。 以下是一个示例代码,展示了如何使用 bodyStyle 属性来自定义 Modal 组件的样式: vue <template> <...
react antdesign中model的bodystyle 在Ant Design中,Modal组件的bodyStyle属性用于设置Modal主体内容区域的样式。 bodyStyle可以接受一个对象作为值,这个对象包含所有常见的CSS属性,例如: ```jsx <Modal title="Basic Modal" visible={visible} onOk={handleOk} onCancel={handleCancel} bodyStyle={{ padding: '24...
ant-design / ant-design Public Sponsor Notifications Fork 50.4k Star 92.9k New issue Jump to bottom Typescript interface ModalFuncProps missing styles to replace bodyStyle #45540 Closed ka1 opened this issue Oct 26, 2023· 3 comments Closed Typescript interface ModalFuncProps missing ...
An enterprise-class UI design language and React UI library - Can't cancel modal body's padding · ant-design/ant-design@88c629e
submitButtonProps: { type: modalProps?.okType as 'text', }, resetButtonProps: { onClick: () => setVisible(false), }, ...rest.submitter, }} contentRender={(item, submitter) => { return ( <Modal title={title} getContainer={false} width={width || 800} {...modalProps} ...
type: modalProps?.okType as 'text', }, resetButtonProps: { onClick: () => setVisible(false), }, ...rest.submitter, }} contentRender={(item, submitter) => { return ( <Modal title={title} getContainer={false} width={width || 800} ...