ElemeFE / element-react

Element UI
https://elemefe.github.io/element-react/index
MIT License
2.83k stars 443 forks source link

Steps's "alignCenter" and "center" attributes not working #931

Closed pedroposada closed 5 years ago

pedroposada commented 5 years ago

Description

In the Steps component, the documentation describes attributes:

These two attributes do not do anything at all. The do not centre nor change the markup of the component at all. Step description remain aligned to the left after setting alignCenter={true}

Reproduce Steps

  1. Implement component
  2. Set alignCenter={true}
  3. Set center={true}
  4. Preview in browser

Error Trace (if possible)

No errors

Solution

Step description should be aligned to the centre and not aligned to the left.

Entire component should be aligned to the centre of the container and not to the left