Commit 695bea6d5e264522153bc409f85691ecd6050ece
1 parent
552903d9
修复搜索页面titles兼容Bug~
Showing
1 changed file
with
12 additions
and
0 deletions
src/components/textTitleBox/textTitleBox.less
| @@ -16,12 +16,24 @@ | @@ -16,12 +16,24 @@ | ||
| 16 | color: #4A4A4A; | 16 | color: #4A4A4A; |
| 17 | font-size: 36px; | 17 | font-size: 36px; |
| 18 | font-weight: 600; | 18 | font-weight: 600; |
| 19 | + .title { | ||
| 20 | + max-width: 580px; | ||
| 21 | + white-space: nowrap; | ||
| 22 | + text-overflow: ellipsis; | ||
| 23 | + overflow: hidden; | ||
| 24 | + } | ||
| 19 | } | 25 | } |
| 20 | .more-box { | 26 | .more-box { |
| 21 | display: contents; | 27 | display: contents; |
| 22 | color: #999999; | 28 | color: #999999; |
| 23 | font-size: 26px; | 29 | font-size: 26px; |
| 24 | font-weight: 400; | 30 | font-weight: 400; |
| 31 | + .more-text { | ||
| 32 | + max-width: 90px; | ||
| 33 | + white-space: nowrap; | ||
| 34 | + text-overflow: ellipsis; | ||
| 35 | + overflow: hidden; | ||
| 36 | + } | ||
| 25 | } | 37 | } |
| 26 | } | 38 | } |
| 27 | &.style-2 { | 39 | &.style-2 { |