From: Nicolay Hvidsten Date: Sun, 21 Oct 2018 15:54:09 +0000 (+0200) Subject: Change erroneous documentation for .flex-fill (#27265) X-Git-Tag: v4.2.0~202 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=345f26a6678d7498ddfdd8ee6ce2e1c658f67195;p=thirdparty%2Fbootstrap.git Change erroneous documentation for .flex-fill (#27265) The current documentation for .flex-fill indicated that the flex items would have equal widths, regardless of content. This update ensures that the documentation reflects the fact that the width of the flex items depends on their actual content. --- diff --git a/site/docs/4.1/utilities/flex.md b/site/docs/4.1/utilities/flex.md index a9a388b18b..41e03c53f3 100644 --- a/site/docs/4.1/utilities/flex.md +++ b/site/docs/4.1/utilities/flex.md @@ -219,11 +219,11 @@ Responsive variations also exist for `align-self`. ## Fill -Use the `.flex-fill` class on a series of sibling elements to force them into equal widths while taking up all available horizontal space. [Especially useful for equal-width, or justified, navigation]({{ site.baseurl }}/docs/{{ site.docs_version }}/components/navs/#working-with-flex-utilities). +Use the `.flex-fill` class on a series of sibling elements to force them into widths equal to their content (or equal widths if their content does not surpass their border-boxes) while taking up all available horizontal space. {% capture example %}
-
Flex item
+
Flex item with a lot of content
Flex item
Flex item