From dd34b3ee2dd03580bbf0fb6c99d6f5ace85916d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=AB=E8=B0=B7=E5=89=91=E4=BB=99?= Date: Mon, 15 Aug 2022 20:52:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=A7=89=E9=86=92=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E7=9A=84css?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style.css | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/style.css b/style.css index 090edfc4..098e2fed 100644 --- a/style.css +++ b/style.css @@ -1176,11 +1176,10 @@ icon.inflicts::after } .menber-awoken .awoken-ul { - display: inline-block; -} -.menber-awoken .awoken-ul>li -{ - display: inline-block; + grid-template-columns: repeat(3, 25.6px); + grid-auto-rows: 25.6px; + grid-gap: 2px; + place-content: start center; } .menber-awoken .awoken-icon { @@ -1369,7 +1368,13 @@ icon.inflicts::after } /*搜索结果显示觉醒列表的相关css*/ -.awoken-preview .awoken-ul, +.awoken-preview .awoken-ul +{ + grid-template-columns: repeat(3, 24px); + grid-auto-rows: 24px; + grid-gap: 1px; + place-content: start center; +} .custom-addition .awoken-ul { width: 75px;