右侧按钮-帮助列表超出没有隐藏

This commit is contained in:
caishi 2021-05-14 17:03:27 +08:00
parent 70af7dae5f
commit 09bf75c6c3
2 changed files with 4 additions and 1 deletions

View File

@ -269,6 +269,9 @@ li.ant-menu-item{
margin-bottom: 10px;
a{
display: block;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
&:hover{
background-color: #D1E9FF;

View File

@ -41,7 +41,7 @@ function SiderBar() {
{
list && list.map((i,k)=>{
return(
<li><a href={`${i.url}`} target="_blank">{i.question}</a></li>
<li><a href={`${i.url}`} title={i.question} target="_blank">{i.question}</a></li>
)
})
}