Styling for accordion headers - stack view #6337
-
Hi, The default behavior wraps the whole of the content next to the icon to the next line... Have attached an image of the storybook/foundation as actual..Please refer Panel 3 From what i have seen, setting flex-wrap to no wrap on the private content inside of the shadow root solves this.. But i would like to know what is the best way to achieve this... Thanks in advance, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hi @siddharth1903, What you are doing seems like a good solution. @coryrylan Do you think it will be a good idea to export a |
Beta Was this translation helpful? Give feedback.
-
I think the fix here would be to add |
Beta Was this translation helpful? Give feedback.
I think the fix here would be to add
wrap:none
to thecds-layout
on this line. That would allow the projected content to wrap but prevent the content from wrapping past the icon