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;