diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 527bdcd..6a3ac57 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -161,19 +161,24 @@ page { width: 100%; height: 100%; background: #fff; - display: grid; - grid-template-columns: repeat(4, 1fr); + display: inline-block; align-content: center; - grid-row-gap: 10%; box-sizing: border-box; - padding: 0 20rpx; + /* padding: 0 20rpx; */ + padding-bottom: 20rpx; } .sudoku .item { - display: flex; + /* display: flex; flex-direction: column; align-items: center; + justify-content: center; */ + display: inline-flex; + flex-direction: column; justify-content: center; + align-items: center; + width: 25%; + margin-top: 20rpx; } .sudoku .item image {