更改NG-Multiselect-Dropdown的CSS

发布于 2025-02-10 17:14:06 字数 470 浏览 0 评论 0原文

我没有使用太多的模块,所以知识很少。 我有一个非常奇怪的多选择下拉列表的问题正在越过标头,我发现解决方案是更改它的z索引,但可以做到,下面我

.multiselect-dropdown .dropdown-list {
  position: absolute;
  padding-top: 6px;
  width: 100%;
  z-index: 10;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  margin-top: 10px;
  box-shadow: 0 1px 5px #959595;
}

在检查它时

分享了我的CSS代码。 在此处输入图像描述

i have not used this module much so having very little knowledge.
I am having a very strange issue of multi select drop down is going over the header I found the solution for this is to change the z-index of it but can do it, below I have shared my css code

.multiselect-dropdown .dropdown-list {
  position: absolute;
  padding-top: 6px;
  width: 100%;
  z-index: 10;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  margin-top: 10px;
  box-shadow: 0 1px 5px #959595;
}

this shows when i inspect it

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文