fix(time-line): 修复timeline检视问题 (#1979)

This commit is contained in:
chenxi-20 2024-08-22 23:54:24 -07:00 committed by GitHub
parent b2d59b4aad
commit c9fdc34756
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View File

@ -1471,7 +1471,7 @@
.timeline {
.@{timeline-item-prefix-cls}__pillar .line {
width: var(--ti-steps-line-height);
margin-block: var(--ti-steps-timeline-line-margin-vertical);
margin-top: var(--ti-steps-timeline-line-margin-vertical);
background-color: var(--ti-steps-timeline-vertical-line-bg-color);
}
@ -1505,7 +1505,7 @@
}
.@{timeline-item-prefix-cls}__content {
margin-top: -5px;
line-height: 1.5;
.name {
margin-bottom: var(--ti-steps-timeline-item-title-margin-bottom);
@ -1542,6 +1542,7 @@
flex-direction: column;
align-items: center;
align-self: stretch;
margin-top: 7px;
width: var(--ti-steps-timeline-dot-width);
.line {

View File

@ -36,8 +36,8 @@ export const tinyStepsSmbTheme = {
'ti-steps-timeline-item-secondary-text-font-size': 'var(--ti-common-font-size-0)',
'ti-steps-timeline-vertical-line-margin-left': 'var(--ti-common-space-4x)',
'ti-steps-timeline-item-padding-bottom': 'var(--ti-common-space-6x)',
'ti-steps-timeline-vertical-line-bg-color': 'rgba(0, 0, 0, 8%)',
'ti-steps-custom-icon-width-height': 'var(--ti-common-space-5x)',
'ti-steps-advanced-count-bg-color': '#c7000b',
'ti-steps-vertical-title-margin-top': 'var(--ti-common-space-2x)'
'ti-steps-vertical-title-margin-top': 'var(--ti-common-space-2x)',
'ti-steps-timeline-shape-dot-content-margin-left': 'var(--ti-common-space-4x)'
}