Skip to content

Commit

Permalink
feat(steps): [steps] Node line alignment (#2116)
Browse files Browse the repository at this point in the history
* feat(steps): 节点线对齐

* feat(steps): 据review更改
  • Loading branch information
chenxi-20 authored Sep 18, 2024
1 parent 4e528f7 commit 3e24748
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/theme/src/steps/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@
.@{steps-prefix-cls}-main {
display: flex;
align-items: center;
height: var(--ti-steps-line-title-height);
}

&.mini {
Expand Down
6 changes: 4 additions & 2 deletions packages/theme/src/steps/vars.less
Original file line number Diff line number Diff line change
Expand Up @@ -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);
// 节点文本色
Expand Down

0 comments on commit 3e24748

Please sign in to comment.