From cb9ade2afd2a367ad767bc605ab7086c695dd010 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 09 十二月 2022 15:53:32 +0800 Subject: [PATCH] 2022-12-09 --- src/tabviews/custom/components/timeline/normal-timeline/index.scss | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 57 insertions(+), 1 deletions(-) diff --git a/src/tabviews/custom/components/timeline/normal-timeline/index.scss b/src/tabviews/custom/components/timeline/normal-timeline/index.scss index 13333b6..3fecd28 100644 --- a/src/tabviews/custom/components/timeline/normal-timeline/index.scss +++ b/src/tabviews/custom/components/timeline/normal-timeline/index.scss @@ -39,9 +39,13 @@ } } + .ant-timeline-item { + padding-bottom: 0px; + } + .card-row-list { overflow-y: auto; - padding: 20px; + padding: 15px; .card-item-box { text-align: left; overflow: hidden; @@ -94,6 +98,58 @@ background: #ffffff; } } + + .mk-time-line-wrap { + display: flex; + overflow-x: hidden; + .mk-time-line-item { + position: relative; + width: 5%; + flex: 1; + } + .mk-time-line-item:last-child { + .mk-timeline-item-tail { + display: none; + } + } + .mk-timeline-item-head { + position: relative; + height: 20px; + text-align: center; + .mk-dot { + position: absolute; + background: #e8e8e8; + padding: 5px; + display: inline-block; + border-radius: 20px; + z-index: 1; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + + .anticon { + font-size: 14px; + color: #ffffff; + width: 16px; + height: 16px; + vertical-align: top; + } + } + .mk-dot-icon { + width: 24px; + height: 24px; + padding: 4px; + } + } + .mk-timeline-item-tail { + position: absolute; + top: 10px; + left: 0px; + width: 100%; + transform: translate(50%, -1px); + border-top: 2px solid #e8e8e8; + } + } } .normal-timeline-box::after { -- Gitblit v1.8.0