.ant-popover-inner-content {
padding: 0 !important;
max-height: 500px !important;
overflow-y: scroll;
}
.ant-popover-inner-content .ant-tag {
width: 79px;
height: 29px;
line-height: 27px;
background: #ffffff;
border: 1px solid #dcdee2;
border-radius: 4px;
}
.ant-popover-inner-content p {
border-bottom: 1px dashed #eee;
}
.ant-popover-inner-content p:last-child,
.ant-popover-inner-content p:nth-last-of-type(-n + 2):not(:nth-child(even)) {
border: 1px solid transparent;
}
.ant-popover-inner-content p:hover {
color: #5678e2;
}
.ant-popover-inner-content p .ant-tag:hover {
background: #5678e2 !important;
color: #fff;
}
.ant-popover-inner-content::-webkit-scrollbar {
width: 3px;
height: 1px;
}
.ant-popover-inner-content::-webkit-scrollbar-thumb {
border-radius: 2px;
background-color: #eee;
}
.ant-popover-inner-content::-webkit-scrollbar-track {
box-shadow: inset 0 0 5px rgba(239, 239, 239, 0.2);
background: #fff;
border-radius: 2px;
}
ant组件库气泡卡片修改样式
于 2024-04-12 17:54:54 首次发布