diff --git a/static/css/index.css b/static/css/index.css index dbf47ff..5c730f3 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -89,8 +89,11 @@ margin-bottom: 25px; } .content .introduce .box .info .award .name { - height: 65px; + max-height: 65px; + max-width: 340px; margin-bottom: 30px; + width: 100%; + height: 100%; } .content .introduce .box .info .award .explain { font-family: "PingFangSC-Regular", "PingFang SC", sans-serif; diff --git a/static/css/index.less b/static/css/index.less index 109297c..c8181fe 100644 --- a/static/css/index.less +++ b/static/css/index.less @@ -101,9 +101,11 @@ } .name { - // width: min-content; - height: 65px; + max-height: 65px; + max-width: 340px; margin-bottom: 30px; + width: 100%; + height: 100%; } .explain {