Skip to content

[BUG] basic Steps 在无标题时候,横条位置上移 #2777

@YyumeiZhang

Description

@YyumeiZhang

Is there an existing issue for this?

  • I have searched the existing issues

Which Component

Steps

Semi Version

2.77.1

Current Behavior

Image

Expected Behavior

Image

Steps To Reproduce

No response

ReproducibleCode

import React from 'react';
import { Steps } from '@douyinfe/semi-ui';

() => (
    <Steps type="basic" current={1} onChange={(i)=>console.log(i)}>
        <Steps.Step />
        <Steps.Step title="In Progress" description="This is a description" />
        <Steps.Step title="Waiting" description="This is a description" />
    </Steps>
);

Environment

- OS:
- browser:

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions