From fdd75d51865c5510deb2fe6e60b398b15e20e01f Mon Sep 17 00:00:00 2001 From: A1300399510 Date: Mon, 16 Dec 2024 18:24:31 +0800 Subject: [PATCH] no message --- css/index.css | 5 ++++- css/index.less | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/css/index.css b/css/index.css index 60010ff..856ed72 100644 --- a/css/index.css +++ b/css/index.css @@ -171,10 +171,13 @@ .fate .list .item:not(:nth-last-child(-n + 2)) { border-bottom: 1px dotted #ebebeb; } +.fate .list .item .left { + position: relative; +} .fate .list .item .left::after { content: ""; position: absolute; - top: 50%; + top: 10px; left: -20px; transform: translateY(-50%); width: 8px; diff --git a/css/index.less b/css/index.less index fab4b97..8dd3297 100644 --- a/css/index.less +++ b/css/index.less @@ -197,10 +197,11 @@ border-bottom: 1px dotted rgb(235, 235, 235); } .left { + position: relative; &::after { content: ""; position: absolute; - top: 50%; + top: 10px; left: -20px; transform: translateY(-50%); width: 8px;