From d6b4a19fa3d3ff1052cc6fc3467af0ef4b57586b Mon Sep 17 00:00:00 2001 From: Lee <342694918@qq.com> Date: Tue, 18 Oct 2022 16:32:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=93=81=E7=89=8C=E6=B4=BB=E5=8A=A8=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/web/css/style.css | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/public/static/web/css/style.css b/public/static/web/css/style.css index acd36a9..0149e2d 100644 --- a/public/static/web/css/style.css +++ b/public/static/web/css/style.css @@ -1094,8 +1094,13 @@ height: 222px; } -.activities-list .activities-item:nth-of-type(3n), -.activities-list .activities-item:nth-of-type(4n) { +.activities-list .activities-item:nth-of-type(4n+3){ + flex-direction: row-reverse; +} +.activities-list .activities-item:nth-of-type(2n){ + flex-direction: row; +} +.activities-list .activities-item:nth-of-type(4n+4){ flex-direction: row-reverse; } @@ -3573,12 +3578,12 @@ height: 2.3rem; } - .activities-list .activities-item:nth-of-type(2n) { - flex-direction: row-reverse; + .activities-list .activities-item:nth-of-type(even) { + flex-direction: row-reverse !important; } - - .activities-list .activities-item:nth-of-type(3n) { - flex-direction: row; + + .activities-list .activities-item:nth-of-type(odd) { + flex-direction: row !important; } .activities-list .activities-item>.txt {