
我如何洗掉自動生成的 CSS, left:將所有元素樣式 POPOVER antd 的值歸零,因為它會使回應中斷。
這是我的代碼
< Popover style = {
{
zIndex: 9,
left: 0
}
}
overlayStyle = {
{
left: 0,
zIndex: 9
}
}
visible = {
formState.baby1
}
placement = "bottom"
content = {
content(t('homePage.babySection.week1'), t('homePage.babySection.content1'))
}
trigger = "click" > {
!formState.baby1 ? ( <
ButtonRed height = {
30
}
width = {
100
}
onClick = {
() => updateForm("baby1")
} > {
t('homePage.babySection.week1')
} < /ButtonRed>
) : null
} <
/Popover>
uj5u.com熱心網友回復:
請給出popover類名和
.ant-popover{
left: 0 !important;
}
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/375088.html
