Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/Container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,28 +18,28 @@ The base container to contain, pad, and center content in the viewport. This com

```jsx live
<div style={{ overflowX: 'auto' }}>
<div style={{ width: '1500px', border: 'solid 3px red' }}>
<Container className="bg-danger-300 my-4">
<div style={{ width: '1500px', border: 'solid 3px var(--pgn-color-danger-700)' }}>
<Container className="bg-danger-700 text-white my-4">
The content in this container doesn't have a max width
</Container>

<Container size="xl" className="bg-danger-300 my-4">
<Container size="xl" className="bg-danger-700 text-white my-4">
The content in this container won't exceed the extra large width.
</Container>

<Container size="lg" className="bg-danger-300 mb-4">
<Container size="lg" className="bg-danger-700 text-white mb-4">
The content in this container won't exceed the large width.
</Container>

<Container size="md" className="bg-danger-300 mb-4">
<Container size="md" className="bg-danger-700 text-white mb-4">
The content in this container won't exceed the medium width.
</Container>

<Container size="sm" className="bg-danger-300 mb-4">
<Container size="sm" className="bg-danger-700 text-white mb-4">
The content in this container won't exceed the small width.
</Container>

<Container size="xs" className="bg-danger-300 mb-4">
<Container size="xs" className="bg-danger-700 text-white mb-4">
The content in this container won't exceed the extra small width.
</Container>
</div>
Expand Down