全局样式影响到其他页面样式,修正

This commit is contained in:
qsc 2024-03-07 15:11:01 +08:00
parent 7a2efb03cf
commit ca5da03e42
3 changed files with 6 additions and 9 deletions

View File

@ -399,11 +399,6 @@
}
}
}
:global {
.ant-popover-inner {
padding: 0 !important;
}
}
.subMenuContent {
display: flex;
flex-direction: row;

View File

@ -20,9 +20,11 @@
margin-top: 20px;
}
}
:global {
.ant-select-selector {
padding: 0 !important;
.selectArticle {
:global {
.ant-select-selector {
padding: 0 !important;
}
}
}
.select {

View File

@ -55,7 +55,7 @@ export default function Render(
return ele.url
})
return (
<div>
<div className={Style.selectArticle}>
<Select
ref={selectRef}
style={{ width: 160 }}