Update Layout #585
Conversation
|
d3102b1 to
6922bca
Compare
|
@flacoman91 |
6922bca to
ae8dd5d
Compare
I updated the original details. The motivation for this fix was the complaint detail page in which the divider line wouldn't grow match whatever was the longer content column, sidebar or main. |
b7e8b41 to
4e36082
Compare
natalia-fitzgerald
left a comment
There was a problem hiding this comment.
@flacoman91
Can we make the following changes to the Storybook pages within Layout? I have made suggestions about the content but feel free to tweak if you have improvements.
Are the code examples for each of these, content, main, sidebar, and wrapper duplicative?
- Change "Layout" to "Layouts"
Content
- Change "Content" body text to: "Content is the main body of the page, situated between the header and the footer."
- Change labeling of example to "Content" and "Sidebar" instead of "Content.Sidebar" and "Layout.Sidebar"
- Remove "Usage" section
- Update to match the screenshot below:
Main
- Change "Main" body text to: "Main is the container for all of the content within a layout. It is used to configure the column structure and whether the sidebar bleeds to the window edge."
- Change labeling of example to "Content" and "Sidebar" instead of "Content.Sidebar" and "Layout.Sidebar"
- Remove "Usage" section
- Update to match the screenshot below:
Sidebar
- Change "Sidebar" body text to "A sidebar is a vertical user interface element positioned on the left or right side of the main content area."
- Change labeling of example to "Content" and "Sidebar" instead of "Content.Sidebar" and "Layout.Sidebar"
- Remove "Usage" section
- Update to match the screenshot below:
Wrapper
- Change "Wrapper" body text to "The wrapper serves as a container for other components or elements. It wraps around child components and provides additional functionality, such as styling, context, or logic."
- Change labeling of example to "Content" and "Sidebar" instead of "Content.Sidebar" and "Layout.Sidebar"
- Remove "Usage" section
- Update to match the screenshot below:
Breaking layout work out of #560 to have a more focused PR
Update the layout component