From dccf00a5c71b39bd72215448c9b76d15fcaa7dfd Mon Sep 17 00:00:00 2001 From: liushaowen <565850092@qq.com> Date: Mon, 7 Sep 2020 14:56:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=AE=89=E6=A6=86=E5=B1=B1grid?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../subpages/safety/components/sudoku/sudoku.wxss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/epdc-resident-mp-yushan/subpages/safety/components/sudoku/sudoku.wxss b/epdc-resident-mp-yushan/subpages/safety/components/sudoku/sudoku.wxss index a8c87d3..9ba7537 100644 --- a/epdc-resident-mp-yushan/subpages/safety/components/sudoku/sudoku.wxss +++ b/epdc-resident-mp-yushan/subpages/safety/components/sudoku/sudoku.wxss @@ -5,16 +5,16 @@ } .content { width: 100%; - display: grid; - grid-template-columns: 1fr 1fr 1fr; - grid-template-rows: 150rpx; - box-sizing: border-box; + display: inline-block; } .item { - display: flex; + display: inline-flex; flex-direction: column; justify-content: center; align-items: center; + box-sizing: border-box; + width: 30%; + margin-top: 20rpx; } .item .image { width:220rpx;