|
@@ -40,14 +40,22 @@
|
|
|
}
|
|
|
|
|
|
.main {
|
|
|
+ max-width: calc(100% - 500px);
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis; //文本溢出显示省略号
|
|
|
+ white-space: nowrap; //文本不会换行
|
|
|
flex: 1;
|
|
|
text-align: center;
|
|
|
font-size: var(--big-size);
|
|
|
|
|
|
- .title {
|
|
|
- font-size: 1em;
|
|
|
- font-weight: bold;
|
|
|
- display: inline-block;
|
|
|
+ .title { font-size: 1em;
|
|
|
+ font-weight: 700;
|
|
|
+ /* display: inline-block; */
|
|
|
+ text-overflow: ellipsis;
|
|
|
+ white-space: nowrap;
|
|
|
+ /* max-width: calc(100% - 500px); */
|
|
|
+ /* width: 100%; */
|
|
|
+ overflow: hidden;
|
|
|
}
|
|
|
|
|
|
.split {
|