【发布时间】:2020-08-31 06:53:26
【问题描述】:
我有一个 react-bootstrap-modal this,我想显示与单击的按钮相关的模态,我的 react-bootstrap-table 中有一个选项,所以当我单击该选项时,我正在显示我的模态,但没有相对对齐。
-
我正在使用
contentClassName覆盖.modal-content,我不知道,但它没有按预期工作<Modal show={props.show} onHide={props.handleClose} contentClassName="modal_l" // this is I am doing to override aria-labelledby="example-custom-modal-styling-title"> <div className="container_modal_options"> <div className="heading">Heading</div> <div className="content">"content</div> </div> </Modal>
我在这里分享最少的代码,
.modal_l {
width: 100px !important; it is not taking styling
}
我想在右侧显示模态,点击附近
【问题讨论】:
-
您可能想结帐Popover。
标签: javascript css reactjs bootstrap-modal react-bootstrap