问题描述
在我的下拉导航中,当您将鼠标悬停在一个对象上时,有很多空间我不知道如何删除。更清楚的是: Image of navbar dropdown with the space im talking about circled.
你可以在我的github网站上查看导航栏:https://cyrusmusic101.github.io/fca-website-2021.github.io/
网站代码:https://github.com/CyrusMusic101/fca-website-2021.github.io
解决方法
.headertop ul li {
display: inline-block;
position: relative;
padding: 0px 10px;
line-height: 70px; < ----------------- here is the issue
left: -10px;
justify-content: center;
}