Skip to content

Commit 4a95c64

Browse files
committed
[css-flexbox] Simplify example, now that the default is min-width:min-content.
1 parent 3961ea2 commit 4a95c64

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

css-flexbox/Overview.bs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,12 +1524,12 @@ The 'flex' Shorthand</h3>
15241524
<dt><dfn>content</dfn>
15251525
<dd>
15261526
Indicates automatic sizing, based on the <a>flex item</a>’s content.
1527-
1527+
15281528
Note: This value was not present in the initial release of Flexible Box Layout,
15291529
and thus some older implementations will not support it.
15301530
The equivalent effect can be achieved by using ''flex/auto''
15311531
together with a main size ('width' or 'height') of ''width/auto''.
1532-
1532+
15331533
<dt><<'width'>>
15341534
<dd>
15351535
For all other values,
@@ -1780,10 +1780,6 @@ Aligning with <a value for=margin>auto</a> margins</h3>
17801780
nav > ul {
17811781
display: flex;
17821782
}
1783-
nav > ul > li {
1784-
min-width: min-content;
1785-
/* Prevent items from getting too small for their content. */
1786-
}
17871783
nav > ul > #login {
17881784
margin-left: auto;
17891785
}

0 commit comments

Comments
 (0)