diff --git a/packages/theme/src/steps/index.less b/packages/theme/src/steps/index.less index 976bab54c9..7a2e0e4bf8 100644 --- a/packages/theme/src/steps/index.less +++ b/packages/theme/src/steps/index.less @@ -702,6 +702,7 @@ .@{steps-prefix-cls}-main { display: flex; align-items: center; + height: var(--ti-steps-line-title-height); } &.mini { diff --git a/packages/theme/src/steps/vars.less b/packages/theme/src/steps/vars.less index 7b9810a029..1b40880ce2 100644 --- a/packages/theme/src/steps/vars.less +++ b/packages/theme/src/steps/vars.less @@ -14,9 +14,11 @@ // 节点圆圈尺寸 --ti-steps-circle-width-height: var(--ti-common-size-height-normal); // 序号字号 - --ti-steps-number-font-size: var(--ti-common-font-size-base, 12px); + --ti-steps-number-font-size: var(--ti-common-font-size-base, 14px); // 节点内容字号 - --ti-steps-font-size-base: var(--ti-common-font-size-base, 12px); + --ti-steps-font-size-base: var(--ti-common-font-size-base, 14px); + // 节点标题高度 + --ti-steps-line-title-height: 42px; // 节点内容悬浮字号 --ti-steps-font-size-hover: var(--ti-common-font-weight-bold); // 节点文本色