From f74d06cff0e27653c2c5ff33cf3824fa3cfb4464 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 17 三月 2023 15:21:47 +0800 Subject: [PATCH] 2023-03-17 --- src/tabviews/custom/components/timeline/normal-timeline/index.scss | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/tabviews/custom/components/timeline/normal-timeline/index.scss b/src/tabviews/custom/components/timeline/normal-timeline/index.scss index 38ef5b9..e5d3dc2 100644 --- a/src/tabviews/custom/components/timeline/normal-timeline/index.scss +++ b/src/tabviews/custom/components/timeline/normal-timeline/index.scss @@ -114,14 +114,15 @@ } .mk-timeline-item-head { position: relative; - height: 20px; + height: 24px; text-align: center; .mk-dot { position: absolute; background: #e8e8e8; - padding: 5px; - display: inline-block; - border-radius: 20px; + display: flex; + align-items: center; + justify-content: center; + border-radius: 100%; z-index: 1; top: 50%; left: 50%; @@ -130,20 +131,19 @@ .anticon { font-size: 14px; color: #ffffff; - width: 16px; - height: 16px; - vertical-align: top; } + } + .mk-dot:not(.mk-dot-icon) { + padding: 5px; } .mk-dot-icon { width: 24px; height: 24px; - padding: 4px; } } .mk-timeline-item-tail { position: absolute; - top: 10px; + top: 50%; left: 0px; width: 100%; transform: translate(50%, -1px); -- Gitblit v1.8.0