From 33b327ef089346a72e4ef0f58610b5c7b12e8841 Mon Sep 17 00:00:00 2001 From: Dragon <13925835632@139.com> Date: Tue, 1 Aug 2023 22:45:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=81=E6=B0=B4=E5=A4=AA?= =?UTF-8?q?=E9=95=BF=E6=A0=B7=E5=BC=8F=E5=BC=82=E5=B8=B8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/peko/modules/statistic/css/serial.css | 6 ++++++ view/peko/modules/statistic/css/serial.scss | 7 +++++++ 2 files changed, 13 insertions(+) diff --git a/view/peko/modules/statistic/css/serial.css b/view/peko/modules/statistic/css/serial.css index 63d05bd..0a8fe09 100644 --- a/view/peko/modules/statistic/css/serial.css +++ b/view/peko/modules/statistic/css/serial.css @@ -67,6 +67,12 @@ body { display: -moz-box; line-height: 1.4rem; } +.max .userInfo .user-i > div .userName { + white-space: nowrap; + overflow: hidden; + width: 3.7rem; + text-overflow: ellipsis; +} .max .userInfo .user-i > div:first-child { font-size: 0.4rem; color: #333; diff --git a/view/peko/modules/statistic/css/serial.scss b/view/peko/modules/statistic/css/serial.scss index 9fbf9f7..3c728a3 100644 --- a/view/peko/modules/statistic/css/serial.scss +++ b/view/peko/modules/statistic/css/serial.scss @@ -69,8 +69,15 @@ body { height: px2rem(80); @include flex(); line-height: px2rem(105); + // @include flex-justify-start; // @include flex-align-center; + .userName { + white-space: nowrap; + overflow: hidden; + width: 3.7rem; + text-overflow: ellipsis; + } &:first-child { font-size: px2rem(30);