@@ -224,7 +224,11 @@ export default {
font-size: 14px;
color: #fff;
line-height: 60px;
- overflow: hidden;
+ &::after {
+ content: ""; //伪元素必须有content属性,哪怕其实只是个空字符串。
+ display: block; //伪元素默认是inline,需要改为block。
+ clear: both;
+ }
& > li {
cursor: pointer;
float: left;