From d03912e26c38685355bfa4995a234bc78a65ed35 Mon Sep 17 00:00:00 2001 From: yutent Date: Wed, 19 Apr 2023 16:11:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=B6=E9=97=B4=E7=BA=BF?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/timeline/index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/timeline/index.js b/src/timeline/index.js index 75c1de7..3a8a2e1 100644 --- a/src/timeline/index.js +++ b/src/timeline/index.js @@ -70,7 +70,7 @@ class Item extends Component { .container { display: flex; width: 100%; - margin-bottom: 32px; + margin-bottom: 16px; color: var(--color-dark-1); } @@ -80,15 +80,16 @@ class Item extends Component { justify-content: center; width: 26px; height: 100%; - min-height: 64px; + min-height: 32px; + padding-top: 6px; user-select: none; &::after { position: absolute; left: 12px; - top: 20px; + top: 26px; width: 2px; - height: calc(100% + 12px); // -20 + 32 + height: calc(100% - 4px); // -20 + 16 background: var(--color-grey-1); content: ''; } @@ -117,9 +118,8 @@ class Item extends Component { margin-left: 12px; } .time { - margin-bottom: 4px; - line-height: 1.5; - font-size: 12px; + line-height: 2; + font-size: 13px; color: var(--color-grey-3); user-select: none; font-family: Raleway, Arial, Helvetica, sans-serif;