diff --git a/client/containers/Group/GroupList/GroupList.scss b/client/containers/Group/GroupList/GroupList.scss index d23488a8..b64bba93 100644 --- a/client/containers/Group/GroupList/GroupList.scss +++ b/client/containers/Group/GroupList/GroupList.scss @@ -8,14 +8,18 @@ .curr-group { background: $color-bg-dark; border-radius: 4px 4px 0 0; - padding: 32px 24px; + padding: 24px; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, + "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", + SimSun, sans-serif; .curr-group-name { .text { display: inline-block; - overflow:hidden; - white-space:nowrap; - text-overflow:ellipsis; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; max-width: 150px; + font-weight: 200; vertical-align: bottom; } @@ -26,6 +30,8 @@ color: #fff; font-size: 12px; max-height: 54px; + margin-top: .16rem; + color: #ccc; text-overflow:ellipsis; overflow:hidden; -webkit-line-clamp: 3; diff --git a/client/styles/theme.less b/client/styles/theme.less index 676a4fd3..0f825c83 100644 --- a/client/styles/theme.less +++ b/client/styles/theme.less @@ -37,9 +37,6 @@ @body-background : #ececec; // Base background color for most components @component-background : #fff; -@font-family-no-number : -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; -@font-family : "Helvetica Neue For Number", @font-family-no-number; -@code-family : Consolas, Menlo, Courier, monospace; @heading-color : fade(#273848, 85%); @text-color : fade(#0d1b3e, 65%); @text-color-secondary : fade(#0d1b3e, 43%);