css - 使 React-Modal 不透明
问题描述
我在我的代码中使用 react-modal。请在下面找到它的风格,
const customStyles = {
content : {
top : '37%',
left : '50%',
right : 'auto',
bottom : 'auto',
marginRight : '-50%',
transform : 'translate(-50%, -50%)',
maxWidth : '40%'
}
};
当我单击网格中的任何行时,会弹出模式。但问题是,当我单击行时,行会突出显示并显示在模态前面。我不希望突出显示的行或网格分散模态视图的注意力。
我怎样才能做到这一点?
谢谢
解决方案
推荐阅读
- jquery - 按前缀查找产品标签并将它们一起显示在 shopify 前端的一个文本行中
- sql - 在比较两个表的差异时如何检测自动填充的列?
- blockchain - 启动 CORDA 现金发行者
- javascript - HTML 项目无法在 Samsung Tab Active2 平板电脑上的 chrome 中正确打开
- c - 矩阵中的最后一个数字是错误的
- go - 如何将元数据从 grpc-gateway 发送到 grpc 服务器?
- imagemagick - 托管主机上的 imagemagick 脚本
- python - 未绑定方法调用中的参数 self 没有值
- blockchain - 几个 Cordapp 可以访问同一个账本?
- apache-spark - 无法在 Azure Databricks 提供的 Spark 群集中导入已安装的 Python 模块