Skip to content

Commit 1d4e059

Browse files
committed
[css-flexbox] Use Advisement class instead of Note class for flex longhand warnings.
1 parent 305e57e commit 1d4e059

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

css-flexbox/Overview.bs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1635,8 +1635,8 @@ Components of Flexibility</h3>
16351635
<p>
16361636
Individual components of flexibility can be controlled by independent longhand properties.
16371637

1638-
Note: Authors are encouraged to control flexibility using the 'flex' shorthand
1639-
rather than with component properties,
1638+
Advisement: Authors are encouraged to control flexibility using the 'flex' shorthand
1639+
rather than with its longhand properties directly,
16401640
as the shorthand correctly resets any unspecified components
16411641
to accommodate <a href="#flex-common">common uses</a>.
16421642

@@ -1654,8 +1654,8 @@ The 'flex-grow' property</h4>
16541654
Animatable: yes
16551655
</pre>
16561656

1657-
Note: Authors are encouraged to control flexibility using the 'flex' shorthand
1658-
rather than with component properties,
1657+
Advisement: Authors are encouraged to control flexibility using the 'flex' shorthand
1658+
rather than with 'flex-grow' directly,
16591659
as the shorthand correctly resets any unspecified components
16601660
to accommodate <a href="#flex-common">common uses</a>.
16611661

@@ -1678,8 +1678,8 @@ The 'flex-shrink' property</h4>
16781678
Animatable: yes
16791679
</pre>
16801680

1681-
Note: Authors are encouraged to control flexibility using the 'flex' shorthand
1682-
rather than with component properties,
1681+
Advisement: Authors are encouraged to control flexibility using the 'flex' shorthand
1682+
rather than with 'flex-shrink' directly,
16831683
as the shorthand correctly resets any unspecified components
16841684
to accommodate <a href="#flex-common">common uses</a>.
16851685

@@ -1703,8 +1703,8 @@ The 'flex-basis' property</h4>
17031703
Animatable: as 'width'
17041704
</pre>
17051705

1706-
Note: Authors are encouraged to control flexibility using the 'flex' shorthand
1707-
rather than with component properties,
1706+
Advisement: Authors are encouraged to control flexibility using the 'flex' shorthand
1707+
rather than with 'flex-basis' directly,
17081708
as the shorthand correctly resets any unspecified components
17091709
to accommodate <a href="#flex-common">common uses</a>.
17101710

0 commit comments

Comments
 (0)