@@ -225,9 +225,10 @@ export default {
width: calc(100% - 4.5em);
height: 2.6em;
line-height: 2.6em;
+ // 超过宽度的文字以省略号代替显示其实值没变
overflow: hidden;
text-overflow: ellipsis;
- white-space: nowrap;
+ white-space: nowrap; // 不换行
vertical-align: middle;
padding: 0;
margin: 0;