Skip to content

Commit

Permalink
updating text for examples of Basis in flex items
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Valdes Gutierrez <valdesgutierrez@gmail.com>
  • Loading branch information
BigSamu committed Jan 12, 2024
1 parent 2341eab commit ceed1ce
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src-docs/src/views/flex/flex_basis_string.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,27 @@ export default () => (
<div>
<OuiFlexGroup>
<OuiFlexItem basis={'auto'}>
Auto
auto
<br />
<br />
Varies based on content size or width/height property
</OuiFlexItem>
<OuiFlexItem basis={'fit-content'}>
Fit-content
fit-content
<br />
<br />
Sizes the item based on the content&apos;s width but within the
container.
</OuiFlexItem>
<OuiFlexItem basis={'max-content'}>
Max-content
max-content
<br />
<br />
Sizes the item to be as large as the content&apos;s maximum width.
</OuiFlexItem>
<OuiFlexItem basis={'min-content'}>
Min-content
min-content
<br />
<br />
Sizes the item to be as small as the content&apos;s minimum width
without breaking.
Expand Down

0 comments on commit ceed1ce

Please sign in to comment.