diff --git a/css/common.less b/css/common.less index 4d230ef..f5e5a79 100644 --- a/css/common.less +++ b/css/common.less @@ -700,6 +700,7 @@ body { height: 100vh; top: 0; left: 0; + } .state-list-box { background-color: #ffffff; diff --git a/css/school.css b/css/school.css index eeb9f02..721ab69 100644 --- a/css/school.css +++ b/css/school.css @@ -214,6 +214,7 @@ grid-column-gap: 66px; display: grid; grid-template-columns: repeat(2, 1fr); + grid-auto-rows: min-content; } .hot .list .list-item .item { padding: 22px 5px 22px 0; diff --git a/css/school.less b/css/school.less index 1ade7e9..49f3288 100644 --- a/css/school.less +++ b/css/school.less @@ -238,6 +238,7 @@ grid-column-gap: 66px; display: grid; grid-template-columns: repeat(2, 1fr); + grid-auto-rows: min-content; .item { padding: 22px 5px 22px 0; width: 510px;