carbon icon indicating copy to clipboard operation
carbon copied to clipboard

StepSequenceItem line max-width property

Open YariMVSage opened this issue 3 years ago • 3 comments
trafficstars

Desired behaviour

The UX/UI team has asked us to reduce the length of the line that appears before text in StepSequenceItem component and center all StepSequenceItem components. Trying to do so through CSS is a little bit tricky and we are not getting the expected results. We would like to have a property in the component to set the max-width of this line in an easier way

Current behaviour

Right now the StepSequenceItem component occupies all available space, and if we short the line through CSS then a long white space appears, we have tried to adjust it but if we do so, the line disappears.

Suggested Solution

No response

CodeSandbox or Storybook URL

https://codesandbox.io/s/hungry-hooks-2tq2u

Anything else we should know?

No response

Confidentiality

  • [X] I confirm there is no confidential or commercially sensitive information included.

YariMVSage avatar Dec 24 '21 11:12 YariMVSage

Hi @YariMVSage, You can use Box to adjust the layout of other components. Please see this sandbox and let us know if this solves your issue https://codesandbox.io/s/jovial-rui-uupns?file=/src/index.js:543-612

nicktitchmarsh avatar Jan 25 '22 14:01 nicktitchmarsh

@harpalsingh - is this something we'd like to introduce to the StepSequence component (https://carbon.sage.com/?path=/docs/step-sequence--default-story) - the ability to change the length of the lines between the items?

samtjo avatar Feb 01 '22 14:02 samtjo

Hi @harpalsingh do you have any updates on this?

Parsium avatar May 31 '22 13:05 Parsium

@harpalsingh and @ljemmo any thoughts on this?

edleeks87 avatar Nov 08 '22 13:11 edleeks87

Hi excuse me this request belongs to an old UX design, we don't need it anymore

YariMVSage avatar Nov 08 '22 13:11 YariMVSage

Thanks for letting us know @YariMVSage 👍🏼

Parsium avatar Nov 08 '22 15:11 Parsium