diff --git a/css/contrastDetails.css b/css/contrastDetails.css index cc78724..342e351 100644 --- a/css/contrastDetails.css +++ b/css/contrastDetails.css @@ -252,10 +252,12 @@ font-style: normal; font-size: 16px; } -.body .item .thead .ranking-box .text { +.body .item .thead .ranking-box .majort { margin-top: 5px; color: #7f7f7f; font-size: 13px; +} +.body .item .thead .ranking-box .majort .text { max-width: 200px; word-break: keep-all; white-space: nowrap; diff --git a/css/contrastDetails.less b/css/contrastDetails.less index 1da96f5..fe78de6 100644 --- a/css/contrastDetails.less +++ b/css/contrastDetails.less @@ -293,15 +293,17 @@ font-size: 16px; } - .text { + .majort { margin-top: 5px; color: #7f7f7f; font-size: 13px; - max-width: 200px; - word-break: keep-all; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; + .text { + max-width: 200px; + word-break: keep-all; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } } }